---
title: "Delete Tenant"
method: DELETE
path: "/tenants/{tenant_id}"
---

# Delete Tenant

`DELETE /tenants/{tenant_id}`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/tenants/{tenant_id}`
- Auth: none declared

Soft-delete a tenant. Allowed for a GLOBAL admin OR the tenant's own OWNER (self-serve).
GitHub-style guard: the caller must echo the id via `?confirm=<tenant_id>`, so a delete can't
fire by accident. `default` is protected; a personal library is managed automatically, not
deleted here.

## Path parameters

- `tenant_id` string, required

## Query parameters

- `confirm` string
- `owner_unreachable` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
