---
title: "Update Tenant Limit"
method: PATCH
path: "/api/v1/admin/tenants/{slug}/limit"
tags: ["admin"]
---

# Update Tenant Limit

`PATCH /api/v1/admin/tenants/{slug}/limit`

## Request

- Base URL: `https://yondry.app` (the document declares no server; this is the origin it was published from)
- URL: `https://yondry.app/api/v1/admin/tenants/{slug}/limit`
- Auth: none declared

Update the monthly plan limit for a tenant. Set to null for unlimited.

## Path parameters

- `slug` string, required

## Headers

- `X-Admin-Key` string, nullable

## Request body

- UpdateTenantLimitRequest
  - `plan_limit_per_month` integer, nullable, required

## Response `200`

Successful Response

- TenantUsageResponse
  - `tenant_id` string, required
  - `slug` string, required
  - `plan_limit_per_month` integer, nullable, required
  - `plans_this_month` integer, required
  - `all_time_plans` integer, required

## Other responses

- `422`: Validation Error

---

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