Users
Read User
GET
/
users
/
{user_id}
curl --request GET \
--url https://example.com/api/users/{user_id} \
--header 'Authorization: Bearer <token>'
{
"username": "<string>",
"role": "admin",
"user_email": "<string>",
"active": true,
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"group_id": 123,
"added_by_uid": 123,
"updated_by_uid": 123
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://example.com/api/users/{user_id} \
--header 'Authorization: Bearer <token>'
{
"username": "<string>",
"role": "admin",
"user_email": "<string>",
"active": true,
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"group_id": 123,
"added_by_uid": 123,
"updated_by_uid": 123
}
Assistant
Responses are generated using AI and may contain mistakes.