GET
/
users
/
{id}
curl --request GET \
  --url https://reimagined-journey-g45xxv4v6gwhvrrr-80.app.github.dev/users/{id}
{
  "id": "674d0bf5c28b69001f8e03a1",
  "created_at": "2024-04-22T10:00:00Z",
  "updated_at": "2024-04-22T10:00:00Z",
  "user_name": "john_doe",
  "email": "johndoe@gmail.com",
  "password": "P@ssw0rd!",
  "role": "manager"
}

Path Parameters

id
string
required

The unique user identifier, generated when the user was created.

Query Parameters

fields
string

Specify which properties to include in the response.

Response

200
application/json

Request successful

The response is of type object.

GET
/
users
/
{id}
curl --request GET \
  --url https://reimagined-journey-g45xxv4v6gwhvrrr-80.app.github.dev/users/{id}
{
  "id": "674d0bf5c28b69001f8e03a1",
  "created_at": "2024-04-22T10:00:00Z",
  "updated_at": "2024-04-22T10:00:00Z",
  "user_name": "john_doe",
  "email": "johndoe@gmail.com",
  "password": "P@ssw0rd!",
  "role": "manager"
}

Path Parameters

id
string
required

The unique user identifier, generated when the user was created.

Query Parameters

fields
string

Specify which properties to include in the response.

Response

200
application/json

Request successful

The response is of type object.