Delete a webhook source
cooper_webhook_source_deleteUse this when a webhook source should stop accepting requests. Requires auth. Inputs: inbox_id (omit when this key is limited to one inbox), source_id (wsrc_…). The public URL starts returning HTTP 404 immediately. Returns {object:"webhook_source", id, deleted:true}. An unknown id is HTTP 404 webhook_source_not_found.
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": {
"source_id": "<source_id>"
},
"name": "cooper_webhook_source_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | No | Inbox id, username, or email. Omit it when this key is limited to one inbox. | |
| source_id | Yes | Webhook source id (wsrc_…). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Webhook source id (wsrc_…). | |
| object | No | Object type name, such as list, message, or thread. | |
| deleted | No | True when the object was deleted. |