---
title: "PATCH /usage/resource-limits/"
method: PATCH
path: "/usage/resource-limits/"
tags: ["usage"]
---

# PATCH /usage/resource-limits/

`PATCH /usage/resource-limits/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/usage/resource-limits/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- UsageResourceLimitCreate
  - `id` integer
  - `resource_type` integer, required
  - `subscription_tier` integer, required
  - `limit` integer, required: Limit for the resource
  - `organization` string, uuid, nullable

## Response `200`

OK

- ResourceLimitDetailResponse
  - `status` boolean, required
  - `result` UsageResourceLimit, required
    - `id` integer
    - `resource_type` string
    - `subscription_tier` string
    - `limit` integer, required: Limit for the resource
    - `organization` string, uuid, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
