DeleteFolders
Calling this method deletes a folder and all subfolders recursively on the file system that is used for working directory of the SceneControllerModule. The working directory is "/images/history" which is mapped to the "/etc/aziot/images/history" folder on the host OS system.
Method Name:
DeleteFolders
Payload:
The direct command requires a list of folders to delete, relative to the working directory of the SceneControllerModule.
{
    "folderNames": [
        "folder1",
        "folder2"
    ]
}This corresponds to deleting all files and folders in the following locations:
/images/history/folder1
/images/history/folder2
Return value
The direct command returns an OperationResult that indicates either success or failure.
Last updated
Was this helpful?