Delete a webhook endpoint
curl --request DELETE \
--url https://judged.systems/api/webhook-endpoints/{id} \
--header 'x-api-key: <api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/webhook-endpoints/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/webhook-endpoints/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"error": "<string>",
"issues": [
{}
]
}Webhooks
Delete a webhook endpoint
Requires packs:write.
DELETE
/
api
/
webhook-endpoints
/
{id}
Delete a webhook endpoint
curl --request DELETE \
--url https://judged.systems/api/webhook-endpoints/{id} \
--header 'x-api-key: <api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://judged.systems/api/webhook-endpoints/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://judged.systems/api/webhook-endpoints/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text){
"error": "<string>",
"issues": [
{}
]
}