Create user
POST/user
This can only be done by the logged in user.
Request
- application/json
- application/xml
- application/x-www-form-urlencoded
Body
Created user object
id int64
username string
firstName string
lastName string
email string
password string
phone string
userStatus int32
User Status
Body
Created user object
id int64
username string
firstName string
lastName string
email string
password string
phone string
userStatus int32
User Status
Body
Created user object
id int64
username string
firstName string
lastName string
email string
password string
phone string
userStatus int32
User Status
Responses
- default
successful operation
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
id int64
username string
firstName string
lastName string
email string
password string
phone string
userStatus int32
User Status
{
"id": 10,
"username": "theUser",
"firstName": "John",
"lastName": "James",
"email": "john@email.com",
"password": 12345,
"phone": 12345,
"userStatus": 1
}
- Schema
- Example (from schema)
Schema
id int64
username string
firstName string
lastName string
email string
password string
phone string
userStatus int32
User Status
<root>
<id>10</id>
<username>theUser</username>
<firstName>John</firstName>
<lastName>James</lastName>
<email>john@email.com</email>
<password>12345</password>
<phone>12345</phone>
<userStatus>1</userStatus>
</root>
Loading...