Path parameters

  • id string Required
application/json

Body

  • id string Required

    The user's unique identifier

  • name string

    The user's preferred name

  • email string

    Email address

Responses

  • 200 application/json

    Updated user

    Hide response attributes Show response attributes object
    • id string Required

      The user's unique identifier

    • name string

      The user's preferred name

    • email string

      Email address

PUT /users/{id}
curl \
 --request PUT 'http://api.example.com/users/{id}' \
 --header "Content-Type: application/json" \
 --data '{"id":"string","name":"string","email":"string"}'
Request examples
{
  "id": "string",
  "name": "string",
  "email": "string"
}
Response examples (200)
{
  "id": "string",
  "name": "string",
  "email": "string"
}