Creates a new user

POST /users

Body

  • id string Required

    The user's unique identifier

  • name string

    The user's preferred name

  • email string

    Email address

Responses

  • Newly created 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

POST /users
curl \
 -X POST /users \
 -H "Content-Type: application/json" \
 -d '{"id":"string","name":"string","email":"string"}'
Request example
{
  "id": "string",
  "name": "string",
  "email": "string"
}
Request examples
{
  "id": "string",
  "name": "string",
  "email": "string"
}
Response examples (201)
{
  "id": "string",
  "name": "string",
  "email": "string"
}
Response examples (201)
{
  "id": "string",
  "name": "string",
  "email": "string"
}