delete_permission
Revoke all permissions a user has on a target (HubProfile, Workspace, or Channel) in a workspace. Specify user, target, and workspace to remove access.
Instructions
Revoke all permissions a user has on a target.
workspace_id: target workspace ID — get available IDs from list_workspaces()
target_type: "HubProfile", "Workspace", or "Channel"
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": {
"user_id": "<user_id>",
"target_id": "<target_id>",
"target_type": "<target_type>",
"workspace_id": "<workspace_id>"
},
"name": "delete_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| target_id | Yes | ||
| target_type | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |