curl --request POST \
  --url http://localhost:8000/users \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com"
}'
{
  "email_id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
  "user_id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"
}

Body

application/json
email
string
required

Response

200 - application/json
email_id
string

The ID of the newly created email address

user_id
string

The ID of the newly created user