Delete a webhook
curl --request DELETE \
--url https://{your-subdomain}.neetoform.com/api/external/v2/webhooks/{id} \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/webhooks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoform.com/api/external/v2/webhooks/{id}"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"notice": "The webhook is successfully deleted."
}{
"error": "NeetoWebhooksEngine::Webhook does not exist."
}Webhooks
Delete a webhook
Delete a webhook and its delivery history.
DELETE
/
webhooks
/
{id}
Delete a webhook
curl --request DELETE \
--url https://{your-subdomain}.neetoform.com/api/external/v2/webhooks/{id} \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoform.com/api/external/v2/webhooks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoform.com/api/external/v2/webhooks/{id}"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"notice": "The webhook is successfully deleted."
}{
"error": "NeetoWebhooksEngine::Webhook does not exist."
}Replace
Learn how to find your subdomain in Workspace subdomain.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Path Parameters
Unique ID of the webhook. You can get it from the List webhooks API.
Example:
"7c1e9b2a-4f3d-4a8e-9b61-2d0f5e8c3a17"
Response
OK - Request succeeded
Example:
"The webhook is successfully deleted."