Change an account member's role. Requires account.members.manage.
Parameters
Name
In
Required
Description
account_id
path
Yes
user_id
path
Yes
Request body
Field
Type
Required
Description
role
string
Yes
Member 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
Status
Description
200
The updated member
400
Bad request
401
Unauthorized
403
Forbidden
404
Not found
409
Conflict
500
Server error
503
internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.