Renaming a folder

This API allows you to change the name of an existing folder on the platform. To do this, you need to send a request with parameters indicating the folder whose name needs to be changed and the new name for it.

How to get data

Request address

To get the data, use the address: https://<server_address>/backend/api.php

Method

POST

Request parameters

• cmd=editfoldername — command to change the folder name
  • node — the number of the node where the command should be executed
• folder_id — ID of the folder whose name needs to be changed
• new_folder_name — new name for the folder

Example request

https://<server_address>/backend/api.php?cmd=editfoldername&folder_id=454545&new_folder_name=testname&node=1
Response
{
  "success": "Folder name successfully updated"
}