Delete a webhook

Deletes a webhook endpoint so it no longer receives event deliveries. Use this endpoint to delete a webhook through the Samva email API.

DELETE
/v1/webhooks/{id}

Deletes a webhook endpoint so it no longer receives event deliveries.

x-api-key<token>

In: header

Path Parameters

id*string
Match^wep_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/webhooks/string"
{  "success": true}