---
title: "Restore Tenant"
method: POST
path: "/tenants/{tenant_id}/restore"
---

# Restore Tenant

`POST /tenants/{tenant_id}/restore`

## 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}/restore`
- Auth: none declared

#1311 E: undo a workspace SOFT-delete (global admin only). Refuses when the data dir is
already purged — that needs the single-tenant backup restore first (an ops step, not this
route). Appends a `tenant_restore` erasure-ledger line (so the boot replay never re-tombstones
it), sets the plan from live billing, un-hides members' library copies, audits
`tenant.restored`, emits the `tenant.restored` platform event and mails the owner.

## Path parameters

- `tenant_id` string, required

## 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)
