update_member_role
Update an organization member's role (OWNER/ADMIN/MANAGER/MEMBER/GUEST). Guards: cannot demote the last OWNER (LAST_OWNER conflict); only an existing OWNER can promote another user to OWNER. Permission: org.member.role.update (default ADMIN+) plus the OWNER-promote rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| userId | Yes |