Delete webhook
Disable an endpoint.
DELETE
/
v1
/
webhooks
/
{id}
Delete webhook
curl --request DELETE \
--url https://orchestration.flashnet.xyz/v1/webhooks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-Idempotency-Key: <x-idempotency-key>'const options = {
method: 'DELETE',
headers: {'X-Idempotency-Key': '<x-idempotency-key>', Authorization: 'Bearer <token>'}
};
fetch('https://orchestration.flashnet.xyz/v1/webhooks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/webhooks/{id}"
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"Authorization": "Bearer <token>"
}
response = requests.delete(url, headers=headers)
print(response.text){
"ok": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Was this page helpful?
⌘I
Delete webhook
curl --request DELETE \
--url https://orchestration.flashnet.xyz/v1/webhooks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'X-Idempotency-Key: <x-idempotency-key>'const options = {
method: 'DELETE',
headers: {'X-Idempotency-Key': '<x-idempotency-key>', Authorization: 'Bearer <token>'}
};
fetch('https://orchestration.flashnet.xyz/v1/webhooks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://orchestration.flashnet.xyz/v1/webhooks/{id}"
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"Authorization": "Bearer <token>"
}
response = requests.delete(url, headers=headers)
print(response.text){
"ok": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}