DELETE /platform/v1/ens-callbacks/{callbackId}

Overview 

Deletes a registered callback that isn’t used by any subscriptions. Delete all subscriptions for the callback before deleting the callback.

URL Parameters 

NameTypeDescription
callbackIdstringRequiredUnique identifier of the callback.

Usage 

Example Request 

1Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
2DELETE /platform/v1/ens-callbacks/65b885ab-c2b4-46fe-85d0-d6cb8be8057d
3Content-Type: application/json
4Authorization: Bearer YOUR_ACCESS_TOKEN

HTTP Responses 

ResponseReason
200 SuccessCallback is deleted.
403 ForbiddenFailed to pass authorization.
404 Not FoundCallback ID doesn’t exist.
409 ConflictSubscriptions exist for the callback. Delete all subscriptions for the callback before deleting the callback.
500 Server ErrorInternal error

See Also