Delete Webhook
growsurf_delete_campaign_webhookRemove a webhook from a GrowSurf program by webhook ID, targeting a specific campaign or the default campaign ID. Returns the webhook ID and a success flag.
Instructions
Remove a webhook from your GrowSurf program by id. Returns { id, success }. Targets campaignId if you pass it, otherwise GROWSURF_CAMPAIGN_ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhookId | Yes | ||
| campaignId | No | Target program (campaign) id for this call. 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. |