Update User in Organization
PATCH/v1/org/:org_id/users/:user_id
Update a user's role in the organization and/or their profile metadata.
set_role applies only within this organization.
set_first_name and set_last_name change the user's global profile,
which is shared with every organization they belong to. They may
therefore only be set by the authenticated user on their own record, or
for a user whose only organization is this one (for example an account
this organization provisioned). Setting them for a user who also belongs
to another organization is rejected with 403.
Required Scope: write-users, unless the authenticated user is
updating their own record.
Request
Responses
- 200
- 400
- 401
- 403
- 413
- 500
User updated successfully
Bad Request
Unauthorized
Forbidden
Request Entity Too Large
Internal Server Error