---
title: "Partial update tenant"
method: PATCH
path: "/v1/tenants/{id}"
tags: ["tenants", "tenants"]
---

# Partial update tenant

`PATCH /v1/tenants/{id}`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/tenants/{id}`
- Auth: HTTP bearer

Partial update (PATCH) of a tenant.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Tenant-Id` string, nullable

## Request body

- ModelsIdentityTenantMergeValidator: PATCH body: every field optional; only those set are written. No ``status_code``, for the reason ``UpdateValidator`` gives.
  - `display_name` string, nullable
  - `monthly_cap_micro_usd` integer, nullable
  - `updated_at` string, date-time, nullable

## Response `200`

The updated tenant.

- ModelsIdentityTenantFullValidator: Response shape for GET / POST / PUT / PATCH.
  - `id` string, uuid, required
  - `display_name` string, required
  - `status_code` 'active' | 'suspended' | 'cancelled', required
  - `settings` object, required
  - `monthly_cap_micro_usd` integer, required
  - `onboarding_completed` boolean, required
  - `skill_testing_workspace` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden. Inspect response body `code` for the specific reason (for example: PERMISSION_DENIED, EMAIL_NOT_VERIFIED, TENANT_ACCESS_REQUIRED, ROLE_UNRESOLVED)
- `404`: Not found
- `409`: Conflict
- `422`: Validation error

---

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