Update a user
PATCH /users/{user_id}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”User id
Example
42Request Body
Section titled “Request Body ”object
New work email. Omit for no change; cannot be set to null. Same validation as create; must not belong to another active user when changed.
Example
Given name. Omit for no change; cannot be cleared via null.
Example
AdaFamily name. Omit for no change; cannot be cleared via null.
Example
LovelaceContact phone. Omit for no change; cannot be cleared via null.
Example
+33123456789ISO 3166-1 alpha-2. Omit for no change; cannot be cleared via null.
Example
FREMPLOYEE: standard company user. ADMIN: can manage company configuration and users. On create, defaults to EMPLOYEE when omitted.
Example
EMPLOYEEIds of company teams to assign. Teams must already exist. On patch, replaces all current team memberships when provided.
Example
[ 12, 34]Responses
Section titled “ Responses ”Updated user
object
object
EMPLOYEE: standard company user. ADMIN: can manage company configuration and users. On create, defaults to EMPLOYEE when omitted.
Example
EMPLOYEETeams the user belongs to, sorted by label.