Here you can learn how to unsubscribe from the existing webhook.
Unsubscribing from existing webhook subscription with ID-1004.
To update the existing webhook subscription, make the API call below:
https://notification-api.sandbox.tuumplatform.com/api/v1/notifications/subscriptions/ID-1004
Here is a sample request for unsubscribing from the existing webhook subscription:
https://notification-api.sandbox.tuumplatform.com/api/v1/notifications/subscriptions/ID-1004
curl -X DELETE 'https://notification-api.sandbox.tuumplatform.com/api/v1/notifications/subscriptions/ID-1004https://notification-api.sandbox.tuumplatform.com/api/v1/notifications/subscriptions/ID-1004m.com/api/v1/notifications/subscriptions/ID-1004' \
-H 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDctMjBUMTM6NTg6MTkiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2ODk4NjE0OTl9.XY-A-LL5LfDtibp_KAIEHQDu22GCTpXpLbjlqDQWPVs' \
-d ''
Below you will find the response body to the sample request:
The existing webhook subscription with ID-1004
is unsubscribed.
.../notifications/subscriptions/ID-1004