---
title: "Update Quota"
method: PATCH
path: "/v1/accounts/{account_id}/quotas/{quota_id}"
tags: ["gateway.openapi_Gateway"]
---

# Update Quota

`PATCH /v1/accounts/{account_id}/quotas/{quota_id}`

Updates a quota.

## Path parameters

- `account_id` string, required
- `quota_id` string, required

## Query parameters

- `allowMissing` boolean

## Request body

- object
  - `value` string, int64 — The value of the quota being enforced. This may be lower than the max_value if the user manually lowers it.
  - `maxValue` string, int64 — The maximum approved value.
  - `usage` number, double — The usage of the quota.
  - `updateTime` string, date-time — The update time for the quota.

## Response `200`

A successful response.

- GatewayQuota
  - `name` string
  - `value` string, int64 — The value of the quota being enforced. This may be lower than the max_value if the user manually lowers it.
  - `maxValue` string, int64 — The maximum approved value.
  - `usage` number, double — The usage of the quota.
  - `updateTime` string, date-time — The update time for the quota.

---

[API](https://skmtc.net/fw-ai-external/apis/gateway-rest-api.md) · [All operations](https://skmtc.net/fw-ai-external/apis/gateway-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fw-ai-external/gateway-rest-api/revisions/29a1e4db152c/schema)
