Users

Create a user

POST/auth/users/

manage Delete and money: deletes, credits, servers or panel settings. Scopes

Create an account, owned by you. A reseller creates only dashboard accounts (is_staff) in reseller groups here: lines are made with POST /auth/line-users/.

Body

  • usernamestringrequired
  • emailstring (email)can be null
  • passwordstringrequired
  • password_confirmstringrequired
  • first_namestring
  • last_namestring
  • phone_numberstringcan be null
  • phone_country_codestringcan be null
  • is_staffboolean

    Designates whether the user can log into this admin site.

  • is_activeboolean
  • groupsinteger[]

Response

201 OK

  • idstring (uuid)requiredread-only
  • usernamestringrequired
  • emailstring (email)can be null
  • first_namestring
  • last_namestring
  • phone_numberstringcan be null
  • phone_country_codestringcan be null
  • is_staffboolean

    Designates whether the user can log into this admin site.

  • is_activeboolean
  • groupsinteger[]

Errors

  • 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
  • 401 No credential, or one that is wrong, expired or revoked.
  • 403 The account, or the key's or app's scopes, may not do this.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means