Skip to main content
DELETE
/
v1
/
webhooks
/
{id}
Delete a webhook
curl --request DELETE \
  --url https://api.shelv.dev/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.shelv.dev/v1/webhooks/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.shelv.dev/v1/webhooks/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.shelv.dev/v1/webhooks/{id}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true
}
{
  "code": "<string>",
  "message": "<string>",
  "details": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Pattern: ^wh_[0-9a-f]{24}$

Response

Webhook deleted

success
boolean
required