Skip to main content

Delete a Webhook Endpoint

This endpoint deletes a Webhook Endpoint.

info

This operation requires authentication and admin role.

HTTP Request

DELETE /api/v2/webhook/endpoint/{id}/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying this endpoint

Example Request

const headers = {
'Authorization: Bearer <access_token>'
};
fetch('/api/v2/webhook/endpoint/{id}/',
{
method: 'DELETE',
headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
204No ContentResponse status codeNone