Delete subscription

The DELETE /subscriptions endpoint can be used to delete an existing subscription.

Changes to subscriptions may take up to 30 seconds to take effect.

In this page


Most URLs in the example code use the following values:

Headers

Header parameters in 3886055581 apply to this endpoint.

Authorization scopes required:

Scope
admin:write

Requests

Delete the specified subscription

curl -L -X DELETE "https://***.api.newvoicemedia.com/webhooks/subscriptions/2V1hpyHOGjL4igpT8IM0SgON4Ao" \
-H "Authorization: bearer <ACCESS_TOKEN>" \
-H "Accept: application/vnd.newvoicemedia.v1+json"

Responses

If the subscription is deleted successfully a 204 No Content response will be returned.

If a subscription with the corresponding subscription ID cannot be found, a 404 response will be returned.

Try it out

  

For information, see Trying out Vonage Contact Center APIs.