{
"status": 409,
"message": "A user with email: {email} already exists.",
"developerMessage": "User creation failed because the email: {email} already exists.",
}
Request schema 2
{
“email”: “admin@letmehack.lk”
}
Here the password is not set.
Response schemas
Status 201: Return if the user was successfully created.
HTTP POST request to http://localhost:8090/api/users should create a new user.
Request schema 1:
If the password is not set, you should randomly generate a password in the API backend.
Response schemas:
Status 201: Return if the user was successfully created.
Status 400: Return if email is not set.
Status 409: If the user already exists.
Request schema 2
Here the password is not set.
Response schemas
Status 201: Return if the user was successfully created.
Note Placeholders {email}, {user_id} should contain actual values.