Delete a Webhook
Example
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);
});
Last updated