Change a member's role
change_member_roleUse this when the user wants a team member to have a different role (admin, editor or viewer) or to cover different monitors. Returns the member's old and new role; FlareWarden emails the member about the change. Owners and admins only: nobody changes their own role or the owner's, and only the owner changes an admin's. Not for inviting someone new (use invite_member) or removing a member (done in the dashboard).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The new role: admin (everything but billing), editor (manages monitors in their scope) or viewer (sees everything and gets alerts). | |
| scope | No | Which monitors the role covers. Leave out to keep the member's current scope (all for a monitor-only member). | |
| member | Yes | The member's email address, or their user id from list_team. |