Skip to main content
PATCH
Update quota
PATCH /v1/projects/{projectId}/quota replaces criteria and returns 200 with the V1 body. The request has the same shape as Create a quota (V1). A project with no V1 quota returns 404.

Headers

x-api-key
string
required
x-api-secret
string
required

Path Parameters

projectId
string
required

Body

application/json
criteria
object
required

Updated quota criteria details

version
enum<string>
required

Version of the quota

Available options:
v1
Example:

"v1"

Response

200 - application/json
progress
object
required

Quota progress by segment ID

Example:
id
string<ObjectId>
projectId
string<ObjectId>
version
enum<string>
Available options:
v1
totalTarget
number
Required range: x >= 1
status
enum<string>
Available options:
IN_PROGRESS,
FILLED
criteria
object
createdAt
string<date-time>
updatedAt
string<date-time>
Last modified on October 20, 2026