---
title: "Delete organization (OWNER only)"
method: DELETE
path: "/organizations/{id}"
tags: ["organizations"]
---

# Delete organization (OWNER only)

`DELETE /organizations/{id}`

## Request

- Base URL: `https://api.onplana.com/api`
- URL: `https://api.onplana.com/api/organizations/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Optional body `{ exitReason: { option, otherText? } }` records why the org was deleted (option from a closed list; an answer that does not parse is ignored and never blocks the delete).

## Path parameters

- `id` string, required

## Headers

- `X-Organization-Id` string, required

## Response `204`

Organization deleted

## Other responses

- `400`: Validation error
- `401`: Unauthorized - missing or invalid JWT
- `403`: Forbidden - insufficient role

---

[API](https://skmtc.dev/onplana/apis/onplana-api.md) · [All operations](https://skmtc.dev/onplana/apis/onplana-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onplana/apis/onplana-api/revisions/c3d6c89e9dc8?raw)
