Delete Webhook
growsurf_delete_campaign_webhookRemove a webhook from a GrowSurf program by ID, returning the webhook ID and success status. Use it to clean up or disable webhook notifications for a specific campaign.
Instructions
Remove a webhook from your GrowSurf program by id. Returns { id, success }. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.
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": {
"webhookId": "<webhookId>",
"campaignId": "<campaignId>"
},
"name": "growsurf_delete_campaign_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhookId | Yes | ||
| campaignId | Yes | Target program id for this call: the `id` returned by `growsurf_list_campaigns`, not the program name or a share URL. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of the webhook that was deleted. | |
| success | No | Whether the webhook was deleted. |