Delete subscription


Beta/Early Access Program

This API is in the Beta/Early Access Program and is still under development. If you are interested in using this API, please contact your Customer Success Manager or Account Manager. Participation in this pilot program is at the discretion of Product Management and not guaranteed.

Use of this API outside of the program is prohibited.

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

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.