DELETE /api/org/webhook

Removes the webhook and its deliveries.

Surface: organisation. Who may call: organisation-key. Key: organisation.webhook.remove.

Example request

curl -X DELETE https://caremcp.com/api/org/webhook \
  -H "Authorization: Bearer <API key or session>"

Input schema

{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {}
}

Output schema

{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "ok": {
   "type": "boolean",
   "const": true
  }
 },
 "required": [
  "ok"
 ],
 "additionalProperties": false
}