beel_patch_member
Change an account member's role between ADMIN and MEMBER to grant or revoke administrative access.
Instructions
Changes a member's account_role between ADMIN and MEMBER.
OWNER: not an assignable value here. An account has exactly one owner, and ownership is handed over only throughPUT /v1/accounts/{account_id}/owner, which promotes the new owner and steps the current one down in the same operation.Last owner: the account's last
OWNERcannot be demoted.
Endpoint: PATCH /v1/accounts/{account_id}/members/{member_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| member_id | Yes | Membership unique UUID. | |
| account_id | Yes | Your own account, or an account you provisioned. It — not the credential — decides which account the operation acts on; a `403` is returned when you do not reach it, the same response an account that does not exist gets. |