Users

Set user extra usage limit

Changed on

Raising the effective extra allowance resolves the pending usage request. Unchanged or lower allowances do not. The request body is the limit object directly; extraUsagePeriodSpend is null in the response.

put/billing/v1/ai-models-included/users/{userId}/extra-usage-limit

Request

  • Base URL
    https://api.langdock.com
  • URL
    https://api.langdock.com/billing/v1/ai-models-included/users/{userId}/extra-usage-limit
  • Auth
    HTTP bearer

Request body

OR
OR

Response

Updated resource. Spending is null; GET retrieves spending.

idstring uuid required
emailstring email

Present only when the key also has the USER_MANAGEMENT_API scope.

namestring nullable

Present only when the key also has the USER_MANAGEMENT_API scope.

plan'business' | 'business_max' required
extraUsagePeriodSpendnumber nullable required

Changes