Delete Webhook Subscription
This section shows you how to delete a webhook subscription.
Endpoint
Test:
DELETE
https://apitest.cybersource.com
/notification-subscriptions/v1/webhooks/{webhookID}Production:
DELETE
https://api.cybersource.com
/notification-subscriptions/v1/webhooks/{webhookID}Production in India:
DELETE
https://api.in.cybersource.com
/notification-subscriptions/v1/webhooks/{webhookID}
Required Field for Deleting a Webhook Subscription Using the REST API
-
webhookID
-
Include the ID of the webhook you would like to update.
REST Example: Deleting a Webhook Subscription
Request
DELETEhttps://apitest.cybersource.com/notification-subscriptions/v1/webhooks/{{tms-webhook-id}}
Response to a Successful Request
A successful delete response returns an empty
HTTP 204 No Content
status. For more information, see HTTP Status Codes.