Create user

 
Example:
https://<address>/api/api.php?cmd= create_user
 
Options:
cmd: create_user
login login user
password  password  user
name name user
phone phone user
email  email user
role_id (0-Admin, 1-User, 2 - Logistic)
 
 
Example request:
https://<url>/api/api.php?cmd=create_user&login=TestAPI3&password=123456&name=test Api&role_id=1&phone=789995&email=testapi5@mailinator.com&vehicles=15&folders=5
 
 
Answer:
{
    "code": 0,
    "msg": "Success create user: 48" – id user
}
 
The request must indicate the login and password of the administrator who creates the user.