Create User
This endpoint will create a user
Request
PUT /users
Authorization
N/A
Headers
N/A
Query Parameters
N/A
Body
{
"email": "<email>",
"firstName": "<first-name>",
"lastName": "<last-name>",
"password": "<password>",
"confirmPassword": "<confirm-password>"
}
Response
Response | Status Code | More Information |
---|---|---|
Success | 201 |
If the response is successful |
Validation Error | 422 |
Validation error for user input |
Internal Server Error | 500 |
Unknown error |
Validation Error (422)
When a 422
validation error is returned, additional information will be returned that can be used in the user interface. For more details about validation errors see Validation Errors.
Headers
N/A
Body
Response will contain a user resource