POST
Whitelist a sub-user

Authorizations

Authorization
string
header
required

[just text field] Please enter token in following format: Bearer

Body

application/json
userId
string
required

The userId (username) of the sub-user to update.

Example:

"test124"

ips
string[]
required

Array of IP addresses to whitelist for the sub-user. This replaces the sub-user’s existing whitelisted IP list.

Example:

Response

User whitelisted

userId
string
required

Unique identifier of the sub-user

Example:

"test124"

username
string
required

Username of the sub-user

Example:

"test124"

password
string
required

Current password of the sub-user

dataLimit
number
required

Total data allocated to the sub-user, in GB

Example:

5

dataUsed
number
required

Amount of data used by the sub-user so far, in GB

Example:

1.2

status
string
required

Current status of the sub-user

Example:

"active"

whitelistedIps
string[]
required

List of IP addresses whitelisted for the sub-user

Example:
dateCreated
string
required

Date and time the sub-user was created