Reseller API
Update per-session limit for account
Set the per-session traffic and/or duration ceiling for a sub-account. The proxy disconnects the session once it reaches either ceiling. Send one or both fields; an omitted field is left unchanged, 0 disables that ceiling.
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
Path Parameters
The account ID
Body
application/json
At least one field is required.
Per-session traffic ceiling: SI size string ("250kb", "250mb", "250gb") or raw byte count. 0 disables; a positive value is >= 1000 bytes.
Example:
"250mb"
Per-session duration ceiling as a duration ("15m", "1h30m"). 0/"0s" disables; a positive value is >= 1s.
Example:
"15m"
Response
Session limit updated successfully
The account ID.
Example:
"acc_12345"
Update per-session limit for account