Delete an access role
delete_access_roleDelete an access role nobody follows. Move its members and API keys to another role first (assign_access_role); the workspace's default role can't be deleted. This only stages a request: the owner opens the link in their browser, reviews it, and approves it there with their agent PIN. Never ask for or accept the PIN in chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The role's name. | |
| workspace | No | Which workspace, by name or id. Only needed when you own more than one — list_workspaces shows them. |