- Accounts
- Authentication
- Exams
- Levels
Retrieve
GET
/api/accounts/admins/9/
Request
None
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:80/api/accounts/admins/9/'
Responses
🟢200Retrieve_Ex01
application/json
Body
url
stringÂ
required
id
integerÂ
required
username
stringÂ
required
email
stringÂ
required
first_name
stringÂ
required
second_name
stringÂ
required
third_name
stringÂ
required
fourth_name
stringÂ
required
last_name
stringÂ
required
gender
stringÂ
required
birth_date
stringÂ
required
city
stringÂ
required
address
stringÂ
required
phone
stringÂ
required
is_active
booleanÂ
required
is_staff
booleanÂ
required
is_superuser
booleanÂ
required
date_joined
stringÂ
required
user_type
integerÂ
required
Example
{
"url": "http://127.0.0.1:80/api/accounts/admins/8/",
"id": 8,
"username": "admin2",
"email": "admin2@gmail.com",
"first_name": "admin2",
"second_name": "admin2",
"third_name": "admin2",
"fourth_name": "admin2",
"last_name": "admin2",
"gender": "m",
"birth_date": "2002-02-02",
"city": "Cairo",
"address": "Address",
"phone": "+201111111111",
"is_active": true,
"is_staff": true,
"is_superuser": true,
"date_joined": "2024-03-16T21:02:52.972125Z",
"user_type": 1
}
🟠404Retrieve_Ex02
Modified at 2024-03-16 21:19:13