Create a sub-user

This endpoint allows you to create a sub-user.

You must pass the following information:

  • name (minimum 4 characters)

  • email (must be unique, and formatted correctly)

Optional:

  • proxy_username - Minimum 8 characters, must be unique

  • proxy_password - Minimum 8 characters, must be unique

If you do not send the username or password, a random 10-character one will be created for you.

Create a sub user

post
Authorizations
Body
namestring · min: 1Optional
emailstring · emailOptional
proxy_usernamestring · min: 8Optional
proxy_passwordstring · min: 8Optional
Responses
200
Successful response
application/json
post
POST /api/sub-users HTTP/1.1
Host: api.flashproxy.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "name": "text",
  "email": "[email protected]",
  "proxy_username": "text",
  "proxy_password": "text"
}
{
  "success": true,
  "sub_user": {}
}

Last updated