Updates user information such as first name, last name, roles and metadata.
JWT token for user authentication
User ID to update
User's first name
"John"
User's last name
"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.
["admin", "user"]Additional user metadata
{
"department": "Engineering",
"level": "Senior"
}User updated successfully
User ID
"user123"
User identifiers (email/phone)
Available authentication methods
password, google, client_platform ["password"]User creation timestamp
"2024-01-01T00:00:00.000Z"
User last update timestamp
"2024-01-01T00:00:00.000Z"
User roles
User first name
"John"
User last name
"Doe"
User suspension timestamp
"2024-01-01T00:00:00.000Z"
Additional user metadata