Skip to main content
PUT
Update sub-user

Authorizations

Authorization
string
header
required

API key from the dashboard (Settings → API Keys), sent as is without a Bearer prefix.

Path Parameters

sub_user_id
integer
required

Sub-user ID, as returned by GET /v2/sub-users.

Required range: x >= 0

Body

application/json
password
string

New password: 12–64 characters with at least one uppercase letter, one lowercase letter, one number and one of _ ~ + =. @, : and $ are not allowed.

Required string length: 12 - 64
Example:

"New_Secret_Pass123"

traffic_limit
number | null

Traffic limit in GB. 0 or null means no limit.

Required range: x >= 0
Example:

20

auto_disable
boolean

Disable the sub-user when traffic_limit is reached.

traffic_count_from
string

Count traffic from this time, e.g. 2026-11-01 00:00:00. Reset when left out.

Example:

"2026-11-01 00:00:00"

status
enum<string>

Enable or disable the sub-user.

Available options:
active,
disabled

Response

Done. The body is an empty JSON object.

The response is of type object.