Delete a webhook
curl --request DELETE \
--url https://app.simpledocs.com/api/v1/webhooks/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.simpledocs.com/api/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://app.simpledocs.com/api/v1/webhooks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Webhooks
Delete a webhook
Permanently delete a webhook registration, including its event subscriptions and delivery logs.
After deletion, no new deliveries are sent to the endpoint. Deliveries that were already queued for the webhook are discarded rather than retried. Deletion cannot be undone — to receive events again, register a new webhook.
Requires the write scope.
Delete a webhook
curl --request DELETE \
--url https://app.simpledocs.com/api/v1/webhooks/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.simpledocs.com/api/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://app.simpledocs.com/api/v1/webhooks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Obtain a Bearer token via the Create access token endpoint using the OAuth2 client credentials flow.
Path Parameters
The webhook's ID, as returned by the list and create endpoints.
Example:
"42"
Response
The webhook was deleted. The response has no body.