---
title: "Delete the whole organization"
method: DELETE
path: "/api/v1/organizations/{id}"
tags: ["Multi-tenancy"]
---

# Delete the whole organization

`DELETE /api/v1/organizations/{id}`

## Request

- Base URL: `https://legal.nexusquantum.legal`
- URL: `https://legal.nexusquantum.legal/api/v1/organizations/{id}`
- Auth: HTTP bearer

Revokes all sub-keys (active=false), releases the master_key (back to role=solo) and deletes the org. A destructive operation, but the data is preserved for the audit trail.

## Path parameters

- `id` string, uuid, required

## Response `200`

Org deleted + sub-keys revoked.

- object
  - `deleted_organization_id` string, uuid
  - `revoked_sub_keys` integer

## Other responses

- `403`: You are not master of this org.

---

[API](https://skmtc.dev/nexusquantum/apis/nexus-legal-api.md) · [All operations](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/revisions/4084d8d4eb0b?raw)
