User Tools

Site Tools


version_1:newuser

Creating a new user

A user account can be created by sending a request with the user’s name and password and optionally with an email address.

Authentication required

No

Response

JSON

Method

GET and POST

Resource URL

Parameters

The sent JSON object data should contain the following parameters:

name

The username of the account to be created

pass

The password for the new user

email

Optionally, the email address of the new user

Example

Request

data={
	"name":"alex",
	"pass":"secret",
	"email":"alex@gmail.com"
}

Response

{
   "APIVersion":1,
   "result":1
}

version_1/newuser.txt · Last modified: 01.05.2016 21:36 (external edit)