Class Delete
Deletes files or folders by their AssetIDs or paths.
Defined in: delete.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Delete(src)
Deletes files or folders by their AssetIDs or paths.
|
Class Detail
Delete(src)
Deletes files or folders by their AssetIDs or paths.
Deletes the files specified by AssetID or path in 'src' and returns the AssetID or path given for each. These AssetIDs or paths are parsed into a text object keyed by AssetID from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/delete?src=['AssetID']
http://127.0.0.1:55555/wf/delete?src=["12345"]
- Parameters:
- src
- AssetID/list of assetIDs or path/list of paths of files or folders for deletion.
- Returns:
- ( {'AssetID': "AssetID/path",...} )