Update account member

http
PATCH /accounts/{account_id}/members/{user_id}

Change an account member's role. Requires account.members.manage.

Parameters

NameInRequiredDescription
account_idpathYes
user_idpathYes

Request body

FieldTypeRequiredDescription
rolestringYesMember role. Promoting to or demoting from owner requires account ownership authority. The account must retain at least one owner. Setting the current role succeeds without a change.

Responses

StatusDescription
200The updated member
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.