Update User
Change a member's organization role.
Change a member's organization role. The response is the updated user.
POST /v1/organizations/users/:user_idPath parameters
user_idstringrequiredThe user's ID.
Body
rolestringrequiredThe new role. admin and owner can't be assigned through the API.
Allowed values:
userdeveloperbillingAny other field is rejected with 400.
Response
(object)UseroptionalThe updated user object.
Errors
| Status | Reason |
|---|---|
400 | The role is invalid, or the member is an admin or the owner, whose role can't be changed through the API. |
404 | No member with this ID exists in your organization. |