delete_organization_custom_role
Delete a custom gym role (confirm-gated). Owner only. Get explicit confirmation of exactly which role first — members holding it lose its access.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organizationId": "<organizationId>",
"roleId": "<roleId>"
},
"name": "delete_organization_custom_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roleId | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| organizationId | Yes |