×

Deleting a folder

This API deletes a specified folder and moves all vehicles from it to the root folder.

How to get data

Method

 POST

Request address

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

Request parameters

  • cmd=deletefolder — command to delete the folder
  • folder_id — identifier of the folder to be deleted
  • node — the number of the node where the command should be executed
 

Example request

https://<server_address>/backend/api.php?cmd=deletefolder&folder_id=545&node=1
Response
{
  "success": "The folder has been successfully deleted"
}