v1

latestSwagger 2.02026-07-141269.5 KB
5. Admin

Add new user

post/admin/addUser

Headers

Authorizationstring required

Authorization token (provided upon successful login)

Request body

firstnamestring required
lastnamestring required
password1string password required
password2string password required
usernamestring required

Example request

{
  "firstname": "Bilbo",
  "lastname": "Baggins",
  "password1": "S3l3ctS0methingStr0ng5AsP@ssword",
  "password2": "S3l3ctS0methingStr0ng5AsP@ssword",
  "username": "bilbob"
}

Response

Successful operation