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

The response is of type object.