Users

Create a staff user

POST/auth/staff-users/

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

Create an account with dashboard access, in the groups and with the permissions given. You can give only permissions you hold, and a reseller creates resellers only.

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[]
  • permissionsinteger[]

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[]
  • permissionsinteger[]

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