Delete a custom role
team_delete_rolePermanently delete a customer-owned role. To prevent failure, reassign any users with that role and ensure it is not a system role before deletion.
Instructions
Permanently delete a customer-owned role. HIGH IMPACT and irreversible. Fails when the role is still assigned to any user (reassign members via team_update_member_role first) or when it is a system role. Requires the team:write scope.
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": {
"customer_id": "<customer_id>",
"role_id": "<role_id>"
},
"name": "team_delete_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | Role UUID (find it via team_list_roles) | |
| customer_id | Yes | Your customer UUID (shown in the WARP portal under Settings) |