Update Organization Member
update-organization-memberChange an accepted organization member's role to admin or member. Requires admin credentials and confirmation of organization, member, and new role.
Instructions
Purpose: Change an accepted organization member's role to admin or member.
Returns: The member's updated role.
NOT for: Pending invitations. Use list-organization-members to identify an accepted member and obtain their user ID.
Auth: Requires a user credential with organization admin access. Authorization is enforced by the RawTree API. RawTree prevents demoting the last organization admin.
Safety: Changing a role can grant administrative privileges or revoke them. You MUST confirm the exact organization, member, and new role with the user before calling this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | New organization role: admin or member. | |
| userId | Yes | Member user ID returned by list-organization-members. | |
| organization | Yes | Organization containing the member. |