User
Creates a user
post/user
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Auth-Tokenstring required
Request body
Example request
{
"user": {
"fullname": "admin",
"server": "server1",
"username": "admin",
"password": "mypassword",
"email": "user@mail.com",
"role": "admin",
"timeout": 300,
"locale": "en",
"role_domains": {
"role": "admin"
},
"last_login_timestamp": 1505755716,
"login_count": 1
}
}Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.