---
title: "Set Org Spending Limit"
method: PUT
path: "/v0/organizations/{organization_id}/spending-limit"
tags: ["Organizations"]
---

# Set Org Spending Limit

`PUT /v0/organizations/{organization_id}/spending-limit`

Set the monthly spending limit for an organization.

When the limit is lowered, member and assistant limits that exceed the new org limit
will be automatically capped to the org limit (eager cascade).

Setting to null removes the limit (no cap for members/assistants from this org).

## Path parameters

- `organization_id` integer, required

## Request body

- OrgSpendingLimitRequest — Request body for setting organization spending limit.
  - `monthly_spending_cap` number, nullable, required — Monthly spending limit in dollars. Set to null to remove the limit.

## Response `200`

Spending limit set successfully

- OrgSpendingLimitResponse — Response for setting organization spending limit.
  - `organization_id` integer, required — Organization ID.
  - `monthly_spending_cap` number, nullable — The set monthly spending limit.
  - `cascaded_updates` object, nullable — Count of child entities that had their limits capped.

## Other responses

- `403` — User is not an admin of the organization
- `404` — Organization not found
- `422` — Validation Error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/versions/900377f918b6/schema)
