Skip to main content
GET
/
admin
/
admins
List admins
curl --request GET \
  --url https://api.easierprop.com/admin/admins \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": [
    {
      "id": 1,
      "username": "admin",
      "role": "admin",
      "max_accounts": 4
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token obtained from POST /admin/login

Response

200 - application/json

Admin list

ok
boolean
Example:

true

data
object[]