Skip to main content
PATCH
Set or clear a user's override
See Budgets for field details and examples.

Permissions

Requires a service user or personal access token with the ManageAcuLimits permission at the enterprise level, or delegated access to the budget.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

user_id
string
required

User ID

budget_id
string
required

The budget whose usage policies are managed.

Body

application/json

Set or clear a user's override of the tier's limit.

Per unit: omitted leaves it unchanged, null clears both permanent and temporary overrides, and a value sets an override of the given kind. A temporary override expires at the end of the current monthly billing window and takes precedence over any permanent override until then; setting a permanent override clears any temporary one.

cycle_acu_limit
integer | null

Override value; null clears any existing override.

Required range: x >= 0
kind
enum<string> | null

Override kind, required when cycle_acu_limit is set: 'permanent' never expires and clears any temporary override; 'temporary' keeps any permanent override, takes precedence over it, and expires at the end of the current monthly billing window.

Available options:
permanent,
temporary

Response

Successful Response