The DELETE_FILE action is used to delete a file from the ACS repository.
The input parameters for DELETE_FILE are:
Parameter | Type | Required | Description |
---|---|---|---|
folder | Array<json>, JSON | Optional | ACS folder to be deleted. If the received value contains multiple references to folders, only the first of them will be used. |
folderId | String | Optional | Node ID of the file in ACS. Example: a6a977a6-c728-4038-8dbc-d914c4d8cfb3. |
permanent | Boolean | Optional | If set to true then the node is deleted permanently, without moving to the trashcan. |
The output parameters from DELETE_FILE are:
Parameter | Type | Required | Description |
---|---|---|---|
response | Array<json> | Optional | Response for the calls. |
file | Array<json> | Optional | A list of ACS nodes containing just one element corresponding to the created file. |