User Registration
Registers a new user. In a real app, this might require admin privileges or an invitation system.
POST
/auth/register
curl \
--request POST 'http://api.example.com/auth/register' \
--header "Content-Type: application/json" \
--data '{"email":"string","first_name":"string","last_name":"string","organization_id":42,"password":"string","role":"string"}'
Request examples
{
"email": "string",
"first_name": "string",
"last_name": "string",
"organization_id": 42,
"password": "string",
"role": "string"
}
Response examples (201)
{}
Response examples (400)
{
"additionalProperty1": "string",
"additionalProperty2": "string"
}