GET
/
admins
/
{id}
curl --request GET \
  --url https://schoolmaker.co/api/v1/admins/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "email": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "role": "<string>",
  "is_active": true,
  "is_banned": true,
  "time_zone": "<string>",
  "last_seen_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "is_school_owner": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json
Admin/moderator details
id
string
email
string
first_name
string
last_name
string
role
string
is_active
boolean
is_banned
boolean
time_zone
string
last_seen_at
string
created_at
string
updated_at
string
is_school_owner
boolean