Last updated 2 years ago
curl --location --request DELETE 'https://dev.underdogprotocol.com/v2/webhooks/:webhookId' \ --header 'Authorization: Bearer {token}'
const axios = require('axios'); let config = { method: 'delete', maxBodyLength: Infinity, url: 'https://dev.underdogprotocol.com/v2/webhooks/:webhookId', headers: { 'Authorization': 'Bearer {token}' } }; axios(config) .then((response) => { console.log(JSON.stringify(response.data)); }) .catch((error) => { console.log(error); });
This endpoint allows you to delete a Webhook.
/v2/webhooks/:webhookId
curl -L \ --request DELETE \ --url 'https://api.underdogprotocol.com/v2/webhooks/:webhookId' \ --header 'Authorization: Bearer JWT'
{}