account

Set a project usage budget

Configures request budgets. A soft limit adds a warning header; a hard limit rejects requests with BUDGET_EXCEEDED.

When to use: Set project usage thresholds before automated or high-volume work.

put/account/projects/{project}/budget

Request

  • Base URL: https://api.mapsource.io
  • URL: https://api.mapsource.io/account/projects/{project}/budget
  • Auth: HTTP bearer

Path parameters

projectstring required

Project id or slug.

Request body

period'month' | 'day'

Window the budget counts over.

softRequestsinteger

Warn past this many accepted requests. null removes it.

hardRequestsinteger

Refuse past this many. null removes it.

Response

Set a project usage budget

schemastring
budgetobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.