Skip to main content

Delete a webhook

Delete an existing webhook.

Paramaters​

id - webhook id in url​

Place the webhook id in the url: webhooks/delete/wh_....

Code Example​

DELETE - https://api.particlespace.com/api/v1/webhooks/delete/:id
var axios = require('axios');
const BEARER_TOKEN = 'SET_ME';
var config = {
method: 'delete',
url: 'https://api.particlespace.com/api/v1/webhooks/delete/WEBHOOK_ID_HERE',
headers: {
'Authorization': 'Bearer ' + BEARER_TOKEN
}
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});