User
Role
Organization
Update User Roles
Used to modify roles for a user. Available to global write clients, owners or company owners of all affected workspaces, API keys with write:users scope on every affected workspace, and to the user themselves for removals only. Adding a role in a workspace where the user already holds one returns 409.
patch/user-roles/{id}
Path parameters
idstring required
The user ID to update
Headers
If-Matchstring
If-Match header according to http/1.1 spec section 14.24. Allows for enforced atomic updates, to prevent update collisions
Request body
Response
The complete list of roles after applying this update