Skip to main content
POST
Create subuser
Create a new subuser and allocate bandwidth from your pool. A secure password is generated and returned once in the response.

Authentication

Requires a reseller API key. Pass it as Authorization: Bearer YOUR_API_KEY or X-API-Key: YOUR_API_KEY. See Reseller overview.

Body parameters

username
string
required
Desired username. Automatically prefixed with your store code (e.g. user1 becomes MYSTORE_user1).
email
string
required
Email for the subuser.
bandwidth
number
required
Bandwidth to allocate, in MB. Must be a positive number and cannot exceed your available balance.

Response

Returns the created subuser, including the generated password. Store it now: it isn’t shown again.

Example request

Example response

Errors