Update folder list
This API allows updating the set of folders accessible to a specific user.
How to get data
Request address
To get the data, use the address: https://<server_address>/api/api.php?
Request method
POST
Request parameters
-
cmd=update_user_folders — command to update the folder list
-
folders — comma-separated list of folder IDs to assign to the user
-
user_id — ID of the user whose folder access is being updated
Example request
{
"cmd": "update_user_folders",
"folders": "1,11",
"user_id": 19
}
|
Response
{
"code": 0,
"msg": "Success"
}
|
In response to the API request, the following is returned:
-
code — result code (0 — successful operation)
-
msg — server message describing the result of the action