Update user login and password
This API allows you to change the login and password of an existing user in the PILOT system.
How to get data
Request address
To get the data, use the address: https://<server_address>/api/api.php?
Request method
GET
Request parameters
-
cmd=update_user_auth — command to update authentication data
-
login — new user login
-
password — new user password
-
user_id — ID of the user whose data should be changed
-
node — node number where the command should be executed
Example request
https://<server_address>/api/api.php?cmd=update_user_auth&login=TestAPI&password=qwerty&user_id=48&node=1
|
Response
{
"code": 0,
"msg": "Success"
}
|
In response to the API request, the following is returned:
-
code — result code (0 — successful operation)
-
msg — server message about the result of the action