accounts.role_change_denied
The caller lacks permission to change this member's workspace role.
accounts.role_change_denied is returned when a role change is attempted by a caller who lacks the necessary authority. Only workspace owners and admins may change roles, and only existing owners may elevate another member to owner.
The caller's role is insufficient to perform the requested role change. A member cannot promote themselves or others to a role above their own, and only owners can create new owners.
Have a workspace owner perform the role change. If the workspace has no accessible owner, contact support.
{
"error": {
"code": "accounts.role_change_denied",
"message": "insufficient permission to change this role",
"request_id": "req_01900000abc"
}
}