Skip to content
POSThttps://app.evoriqa.com/api/v1/reseller/clients/{workspaceId}/cap

Set a client's credit cap

Sets the client's monthly credit cap. The cap floors at 1000 (a value below it, including 0, returns 422); `null` clears the cap. A positive cap on a client that is not credit-metered returns 422. Reseller endpoints additionally require the key to live on the organization owner's own (primary) workspace — any other workspace returns 403.

Requires scope reseller:write

Warning:

Access is gated — enable it before your first call

The API is off by default. A request succeeds only when all three switches are on: the platform master switch (off by default), your organisation’s API toggle, and your plan or client entitlement. Any one off returns 403 API access is not enabled for this workspace.

Parameters

Request body

Content type: application/json

Request

Response

200 OK