Path parameters

  • userId string Required

Responses

  • 200 application/json

    A user object

    Hide response attributes Show response attributes object
    • id string

      The user ID.

    • name string Required

      The user's name.

    • email string Required

      The user's email address.

GET /users/{userId}
curl \
 -X GET http://localhost:5000/users/{userId}
Response examples (200)
{
  "id": "string",
  "name": "string",
  "email": "string"
}