---
title: "Update organization spend limit"
method: POST
path: "/organization/spend_limit"
---

# Update organization spend limit

`POST /organization/spend_limit`

Create or replace the organization's hard spend limit.

## Request body

- UpdateOrganizationSpendLimitBody — Parameters for the hard spend limit you want to create or replace.
  - `threshold_amount` integer, required — The hard spend limit amount, in cents.
  - `currency` 'USD', required — The currency for the threshold amount. Currently, only `USD` is supported.
  - `interval` 'month', required — The time interval for evaluating spend against the threshold. Currently, only `month` is supported.

## Response `200`

Hard spend limit created or replaced successfully.

- OrganizationSpendLimitResource — Represents a hard spend limit configured at the organization level.
  - `object` 'organization.spend_limit', required — The object type, which is always `organization.spend_limit`.
  - `threshold_amount` integer, required — The hard spend limit amount, in cents.
  - `currency` union, required
    - string
    - 'USD'
  - `interval` union, required
    - string
    - 'month'
  - `enforcement` SpendLimitEnforcement, required — The current enforcement state of a hard spend limit.
    - `status` union, required
      - string
      - 'inactive' | 'enforcing'

---

[API](https://skmtc.net/openai/apis/openai-api.md) · [All operations](https://skmtc.net/openai/apis/openai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openai/openai-api/versions/dcd35773a322/schema)
