API Endpoint

DELETE /management/webhooks/{id}

Delete a webhook endpoint configuration.

DELETE /management/webhooks/{id}

Endpoint context

Use these endpoints from internal tooling or your frontend backend to manage slug policy templates, provisioning API keys, and webhook endpoint configuration. Management routes require the management bootstrap key configured via MANAGEMENT_API_KEYS or MANAGEMENT_API_KEY.

  • Requires management API key auth.
  • Deletion removes endpoint configuration immediately.
  • Returns a small confirmation payload.
bash
curl -sS -X DELETE http://localhost:8080/management/webhooks/1 \
  -H "Authorization: Bearer management_key_dev_123456"

Request body

json
{} (no request body)

Response body

json
{
  "deleted": true
}

Response field types

deleted

boolean

True when deletion succeeded.

Error codes

400

Invalid id.

401

Missing or invalid management API key.

404

Webhook endpoint not found.

500

Unexpected server or storage error.

Back to API overview