Delete a Webhook Endpoint
This endpoint deletes a Webhook Endpoint.
info
This operation requires admin role.
HTTP Request
DELETE /api/v2/webhook/endpoint/{id}/
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | A unique integer value identifying this endpoint |
Example Request
- JavaScript
- Bash
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);
});
curl -X DELETE /api/v2/webhook/endpoint/{id}/ \
-H 'Authorization: Bearer {access_token}'
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
204 | No Content | Response status code | None |