Delete a subscription
If you no longer need to receive event notifications from Tango, you can delete your webhook subscription by using DELETE {URI}/webhooks/{webhookId}
endpoint.
Endpoint | Purpose |
---|---|
DELETE {URI}/webhooks/{webhookId} | To delete a webhook subscription that’s no longer needed referencing its unique webhook ID |
The following request and response shows deleting webhook subscription using DELETE {URI}/webhooks/{webhookId}
:
--- Request
curl --request DELETE \
--url https://integration-api.tangocard.com/raas/v2/webhooks/{webhookId} \
--header 'accept: application/json' \
--header 'authorization: Basic or OAuth...' \
--header 'content-type: application/json'
-- Response
200
The following response messages are available for this endpoint:
- 200 OK
- 400 Bad Request
- 404 Not Found
- 422 Unprocessable Entity
Updated 7 months ago