delete_channel_permission
Remove a permission overwrite for a role or member from a channel. Specify channel and target IDs to revoke channel-specific permissions.
Instructions
Delete a permission overwrite for a role or member from a 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": {
"channelId": "<channelId>",
"targetId": "<targetId>"
},
"name": "delete_channel_permission"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Audit log reason | |
| targetId | Yes | Role ID or User ID of overwrite to delete | |
| channelId | Yes | Channel ID |