DELETE /api/org/me

Closes the organisation's account: every client erased with their briefs and documents, every key revoked, the webhook removed, the account's name, email and password blanked. Receipts and charges stay for the books; unused credit is refunded on request. Needs the organisation's sign-in, not a key.

Surface: organisation. Who may call: organisation. Key: organisation.delete.

Example request

curl -X DELETE https://caremcp.com/api/org/me \
  -H "Authorization: Bearer <session or access token>"

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
}