---
title: "Patch Tenant"
method: PATCH
path: "/tenants/{tenant_id}"
---

# Patch Tenant

`PATCH /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

## Path parameters

- `tenant_id` string, required

## Request body

- TenantPatchRequest: Update a tenant: add/replace hostnames, suspend/resume, mark ingress ready, set quota. All fields optional; only provided ones are applied.
  - `hostnames` string[], nullable
  - `status` 'active' | 'suspended', nullable
  - `ingress_ready` boolean, nullable
  - `display_name` string, nullable
  - `quota` object, nullable
  - `read_only` boolean, nullable
  - `trial_expires_at` string, nullable
  - `plan` string, nullable

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