create

Available Since: V1

Create a new user within the system.

Request

POST api/1/user/create/
Parameter Description
username The username for the user or '' to create a user without a username.
displayname The display name for the user.
email The email address for the user.
password MD5 of password.
state The state to create the user in, one of: 'active', 'disabled' or 'pending'.
tz The timezone for the user.

Successful Response (201)

{
	"uid": 1
}
Parameter Description
uid The ID of the new user or 0 if failed to create the user.

Unsuccessful Response (400)

{
	"uid": 0
}
Parameter Description
uid The ID of the new user or 0 if failed to create the user.



TOP