Update User Profile
PUT /users/{user_id}
Overview
Updates the profile information of a specific user, such as their name, contact details, or metadata.
This endpoint is typically used to keep user records current or to reflect changes submitted by users.
Typical use cases
Updating a user’s name or email
Syncing external user data with Klaim
Header
Content-Type
application/json
Authorization (API Key)
Bearer <API Key>
Path
user_id
string
The current user_id value of the user to be updated
Body
name (optinal)
string
Name of the user
email (optinal)
string
Email of the user
user_id (optinal)
string
User identifier (user_id). Optional on create — if not provided, a system-generated ID will be used More description
metadata (optinal)
object
A set of custom key-value pairs to be stored in the user’s profile.
Response
This HTTP status is returned when no user profile entity is found for the given userId.
A conflict error occurs when a user with the same email or user_id already exists in the app.
Last updated