Create user.
This can only be done by the logged in user.
POST
/api/v3/user Body parameters
Accepts application/json, application/xml, application/x-www-form-urlencoded.
id int64 (format int64)
username string No description.
firstName string No description.
lastName string No description.
email string No description.
password string No description.
phone string No description.
userStatus int32 User Status (format int32)
Response 200
successful operation
id int64 (format int64)
username string No description.
firstName string No description.
lastName string No description.
email string No description.
password string No description.
phone string No description.
userStatus int32 User Status (format int32)
Response default
Unexpected error
Request
curl -X POST /api/v3/user \ -H "Content-Type: application/json" \ -d '{"id":10,"username":"theUser","firstName":"John","lastName":"James","email":"john@email.com","password":"12345","phone":"12345","userStatus":1}'Response
{ "id": 10, "username": "theUser", "firstName": "John", "lastName": "James", "email": "john@email.com", "password": "12345", "phone": "12345", "userStatus": 1}