DELETE /api/orgs/:id
Destroy the org and everything underneath it. Only owners.
This is irreversible. Memories, namespaces, tokens, members, webhooks, runbooks, entities, relations, exports, audit log — everything CASCADE-deletes off orgs.id.
curl -X DELETE https://www.mnueron.com/api/orgs/01HQ… \
-H "Authorization: Bearer $MNUERON_API_TOKEN"
Response
204 No Content on success.
Errors
| Status | Reason |
|---|---|
403 | Caller is not an owner |
404 | Org doesn't exist or caller is not a member |
⚠️ If you delete the org your current bearer token is bound to, that token is immediately invalidated (it CASCADE-deletes too). You'll see
401 session expiredon the next request.