Campaigns

Delete a webhook of a campaign

DELETE /api/v1/campaigns/{uid}/webhooks/{webhook_uid}

Deletes the webhook with its delivery log.

Parameters
uid string required path
The campaign's uid.
webhook_uid string required path
The webhook's uid.
Responses
200 The webhook was deleted.
401 The token is missing or wrong (Unauthenticated.), or its user may not act on this object (Unauthorized). Without the Accept: application/json header, a missing or wrong token answers with a redirect to the sign-in page instead.
403 The campaign is not the token's.
404 No campaign has this uid, or it has no webhook with this uid.
Delete a webhook of a campaign
1 2 3
curl -X DELETE 'https://your-domain/api/v1/campaigns/6adaabd2b4753/webhooks/6af7d91dd5d06' \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
Response
{
    "status": 1,
    "message": "Webhook deleted."
}