Skip to navigation

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.
Allowed values:
providerenumRequired

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

Allowed values:

Response

Subscription removed

Errors

400
Bad Request Error
500
Internal Server Error