Unsubscribe from an event (delete webhook)

Removes a previously registered webhook so Atlas stops delivering the event.

Authentication

api-keystring

Your Atlas API key. Get it from the Atlas Portal under Settings > API Keys.

Request

This endpoint expects an object.
hookUrlstringRequiredformat: "uri"
The same URL used when subscribing.
campaignIdstringRequired
The campaign the webhook was registered for.
triggerNameenumRequired
The event that triggers webhook delivery.
providerenumRequired

Identifies the webhook integration. For direct API usage this is always custom.

Response

Subscription removed

Errors

400
Bad Request Error
500
Internal Server Error