beel_patch_member
Change a member's account role between ADMIN and MEMBER. Use this to grant or revoke administrative privileges, while ownership remains unchanged.
Instructions
Changes a member's account_role between ADMIN and MEMBER. OWNER is not an assignable value here — an account has exactly one owner, and ownership is handed over only through PUT /v1/accounts/{account_id}/owner, which promotes the new owner and steps the current one down in the same operation. The account's last OWNER cannot 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. |