Authorizations
JWT token for user authentication
Path Parameters
User ID to update
Body
application/json
User's first name
Example:
"John"
User's last name
Example:
"Doe"
Array of role names in the current company context. Providing this field replaces all existing roles; pass [] to remove all roles; omit to keep roles unchanged.
Example:
["admin", "user"]Additional user metadata
Example:
{
"department": "Engineering",
"level": "Senior"
}Response
User updated successfully
User ID
Example:
"user123"
User identifiers (email/phone)
Available authentication methods
Example:
["password"]User creation timestamp
Example:
"2024-01-01T00:00:00.000Z"
User last update timestamp
Example:
"2024-01-01T00:00:00.000Z"
User roles
User first name
Example:
"John"
User last name
Example:
"Doe"
User suspension timestamp
Example:
"2024-01-01T00:00:00.000Z"
Additional user metadata

