Remove the webhook URL
curl --request DELETE \
--url https://{host}/v1/webhook-endpoint \
--header 'X-Api-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://{host}/v1/webhook-endpoint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/webhook-endpoint"
headers = {"X-Api-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}Webhook endpoint
Remove the webhook URL
Removes the webhook URL for the key’s mode; no more events are sent to it.
Required permission: feature:WEBHOOKS, webhooks:manage
DELETE
/
v1
/
webhook-endpoint
Remove the webhook URL
curl --request DELETE \
--url https://{host}/v1/webhook-endpoint \
--header 'X-Api-Key: <api-key>'const options = {method: 'DELETE', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://{host}/v1/webhook-endpoint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/webhook-endpoint"
headers = {"X-Api-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}