Create user
Creates a new user from a username and password. Immediately returns a valid access token for that user.
POST
/users
curl \
-X POST https://example.com/users \
-H "Content-Type: application/json" \
-d '{"user_name":"happy-un1c0rn","password":"12345678"}'
Request example
{
"user_name": "happy-un1c0rn",
"password": "12345678"
}
Request examples
{
"user_name": "happy-un1c0rn",
"password": "12345678"
}
Response examples (201)
{
"user_identifier": "575a7328-4e2e-4b88-afcc-e0b5ed3920cc",
"access_token": "c59805ae394cceea937163877ca31375183650586137170a69652b6d8543e869"
}
Response examples (201)
{
"user_identifier": "575a7328-4e2e-4b88-afcc-e0b5ed3920cc",
"access_token": "c59805ae394cceea937163877ca31375183650586137170a69652b6d8543e869"
}