Delete a Webhook

Delete a Webhook

This endpoint allows you to delete a Webhook.

DELETEhttps://api.underdogprotocol.com/v2/webhooks/:webhookId
Authorization
Path parameters
webhookId*string (uuid)
Response

Returns an empty body

Body
object
Request
const response = await fetch('https://api.underdogprotocol.com/v2/webhooks/:webhookId', {
    method: 'DELETE',
    headers: {
      "Authorization": "Bearer JWT"
    },
});
const data = await response.json();
Response
{}

Example

curl --location --request DELETE 'https://dev.underdogprotocol.com/v2/webhooks/:webhookId' \
--header 'Authorization: Bearer {token}'

Last updated