Change a member's role
oneguard_teams_set_roleChange a team member's role in OneGuard to owner, admin, member, or finance. Confirm the person and new role first, because owner or admin grants broad access to every secret.
Instructions
Changes an existing member's role in the organization. Promoting to owner or admin grants broad access to every secret, so confirm the person and the role with the user first. The member can be named by email or by their 8-character id prefix. Note that an admin caller cannot modify owners, other admins, or promote anyone to admin or owner — the server enforces this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The new role. One of: owner, admin, member, finance. | |
| member | Yes | Member email, or their id / 8-character prefix. |