Skip to main content
PUT
Error

Authorizations

Authorization
string
header
required

Management API authentication for /api/* endpoints. Use the Authorization header with Bearer <API key>. Virtual keys, dashboard/user/session tokens, and x-api-key headers are not supported on management APIs.

Path Parameters

target_user_id
string
required

ID of the user whose access-profile budget is being overridden

profile_id
integer
required

ID of the access profile assigned to the user

budget_id
string
required

ID of a budget on the user's copy of the access profile

Body

application/json

Replaces the active override on one budget. The override is additive: it does not change the budget's max_limit, current_usage, or reset schedule. Sending this request against a budget that already has an override replaces that override entirely.

amount
number
required

Additional spend in dollars added on top of max_limit while the override is active. Must be greater than 0 and finite.

mode
enum<string>
required

cycles keeps the override active for cycles reset windows starting with the current one. forever keeps it active until it is removed with a DELETE.

Available options:
cycles,
forever
cycles
integer

Number of reset windows the override stays active for, counting the current window as the first. Required and must be greater than 0 when mode is cycles; must be omitted or 0 when mode is forever.

Required range: x >= 1

Response

Budget override applied successfully

The persisted budget and the additive limit now in force.

budget
object
required

Budget configuration

effective_max_limit
number
required

max_limit plus override_amount while an override is active; equal to max_limit otherwise.