Delete a Webhook Subscription {#wh-fg-subscription-manage-delete-intro}
=======================================================================

This section describes how to delete a webhook subscription. Deleting a webhook subscription does not delete the history of webhook notifications.  
This request requires the webhook subscription ID. The subscription ID is in the webhookId response field from the *create a webhook subscription* request.

Endpoints
---------

Send a DELETE request to one of these endpoints. The *`{webhookId}`* is the webhook subscription ID.

* **Test:** `DELETE ``apitest.cybersource.com``/notification-subscriptions/v2/webhooks/`*{webhookId}*
* **Production:** `DELETE ``api.cybersource.com``/notification-subscriptions/v2/webhooks/`*{webhookId}*
* **India Production:** `DELETE https://api.in.cybersource.com/notification-subscriptions/v2/webhooks/`*{webhookId}*

Example: Deleting a Webhook Subscription {#wh-fg-subscription-manage-delete-ex}
===============================================================================

```keyword
DELETE https://apitest.cybersource.com/notification-subscriptions/v2/webhooks/b555a545-58a9-47c7-aef9-10a8e17f201a
```

```
{
    "status": "successfully deleted"
}
```

Response Codes {#wh-fg-subscription-manage-delete-reply-status}
===============================================================

A successful request is indicated by the 200-level response code. For more information about all of the possible response codes you can receive, see [Transaction Response Codes](https://developer.cybersource.com/api/reference/response-codes.md "").

REST Interactive Example: Deleting a Webhook Subscription {#wh-fg-subscription-manage-delete-dev-ex}
====================================================================================================

Click this image to access the interactive code example for deleting a webhook subscription.

#### Figure:

Deleting a Webhook Subscription [![Image and link to the interactive code example for deleting a
webhook subscription.](/content/dam/documentation/cybs/en-us/topics/payments-processing/payment-services/webhooks/images/dev-ex-delete.png/jcr:content/renditions/original)](https://developer.cybersource.com/api-reference-assets/index.md?stage=pilot#webhooks_manage-webhooks_delete-a-webhook-subscription "")
