Skip to main content
PUT
Update per-session limit for account
Applies to sub-accounts you own. Each ceiling has three states: omit the field to inherit the parent account’s value, send 0 to disable it, or send a positive value to cap it. The proxy disconnects the session once it reaches either ceiling.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The account ID

Body

application/json

At least one field is required.

session_traffic_limit
string

Per-session traffic ceiling: SI size string ("250kb", "250mb", "250gb") or raw byte count. 0 disables; a positive value is >= 1000 bytes.

Example:

"250mb"

session_duration_limit
string

Per-session duration ceiling as a duration ("15m", "1h30m"). 0/"0s" disables; a positive value is >= 1s.

Example:

"15m"

Response

Session limit updated successfully

id
string

The account ID.

Example:

"acc_12345"