Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_ExcerptBetaAPI
_ExcerptBetaAPI
nopaneltrue
The DELETE /subscriptions endpoint can be used to delete an existing subscription.

Panel
borderColor#eeeeee
bgColorwhite
titleColorwhite
borderWidth1
titleBGColor#D34204
borderStylesolid
titleIn this page

Table of Contents

Insert excerpt
_ExcerptAPICloudNextGen
_ExcerptAPICloudNextGen
nopaneltrue

Headers

Header parameters in 3886055581 apply to this endpoint.

Authorization scopes required:

Scope
admin:write

Requests

Delete the specified subscription

Code Block
languagepowershell
themeMidnight
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.