Delete a Pitchlane webhook subscription
delete_webhookDelete one Pitchlane webhook subscription by its id (from list_webhooks): no more events are sent to its URL for it, including ones already waiting to be sent. It cannot be undone: subscribing the URL again makes a new subscription with a new signing secret, which the receiving endpoint must then be given. Confirm with the user which subscription to delete before calling this. Works for one covering every campaign and for one on a single campaign; campaign_id only makes sure the subscription is that campaign's.
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": {
"webhook_id": "<webhook_id>"
},
"name": "delete_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_id | Yes | The subscription's id, as list_webhooks or create_webhook returns it, e.g. `DHFG2C09n_3qrsSymZjjm`. | |
| campaign_id | No | The campaign the subscription is on (its `campaignId` in list_webhooks), to delete it only if it is that campaign's. Leave it out for one covering every campaign. An archived campaign's subscription cannot be deleted with it (403): leave it out then. |