Creates new user

Request

HTTP Request

POST /user

Authorization

Access JSON Web Token (ManageUser)

Request Body

In the request body, supply a User resource.

Property NameRequiredTypeDescription
loginYesstringUser login using during authentication.
roleYesintegerUser role. Available values:
0: Administrator role
1: Client role
statusYesintegerUser status. Available values:
0: The user is active
1: The user has been locked out due to invalid login attempts
* 2: The user has been disabled
passwordYesstringUser password
oldPasswordYesstringUser old password. Required for non-admin users.
dataYesobjectUser data, a JSON object with an arbitrary structure.

Response

If successful, this method returns a User resource in the response body.

Property NameTypeDescription
idintegerUser identifier.
lastLogindatetimeUser last login timestamp (UTC).
dataobjectUser data, a JSON object with an arbitrary structure.
introReviewedbooleanIndicates if user reviewed an intro.