curl -X DELETE https://api.flux.dev/v1/webhooks/wh_abc123 \
-H "Authorization: Bearer sk_live_..."
await flux.webhooks.delete('wh_abc123');
flux.webhooks.delete("wh_abc123")
{
"id": "wh_abc123",
"deleted": true
}
{
"error": {
"code": "not_found",
"message": "Webhook not found"
}
}
Webhooks
Delete Webhook
Remove a webhook endpoint
DELETE
/
v1
/
webhooks
/
{id}
curl -X DELETE https://api.flux.dev/v1/webhooks/wh_abc123 \
-H "Authorization: Bearer sk_live_..."
await flux.webhooks.delete('wh_abc123');
flux.webhooks.delete("wh_abc123")
{
"id": "wh_abc123",
"deleted": true
}
{
"error": {
"code": "not_found",
"message": "Webhook not found"
}
}
Deletes a webhook endpoint. After deletion, Flux will no longer send events to this URL.
string
required
The webhook ID (e.g.,
wh_abc123)curl -X DELETE https://api.flux.dev/v1/webhooks/wh_abc123 \
-H "Authorization: Bearer sk_live_..."
await flux.webhooks.delete('wh_abc123');
flux.webhooks.delete("wh_abc123")
{
"id": "wh_abc123",
"deleted": true
}
{
"error": {
"code": "not_found",
"message": "Webhook not found"
}
}