Delete File
Use this action to delete a file from the specified repository.
Using the Delete File Action
To use this action in your workflow, you need to connect it to ThingWorx Flow. To connect to a flow, do the following:
1. Drag the Delete File action under the ThingWorx connector to the canvas, place the pointer on the action, and then click or double-click the action. The Delete File action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a connection, refer to the section Adding a Connection in the ThingWorx connector topic. The default value is ThingWorx App Key.
* 
If you previously added a ThingWorx connection, select a connection from the list.
4. In the Repository field, select the ThingWorx repository from where the file is to be deleted.
5. Select the File Path within the repository.
6. In the File Name field, select the name of the repository you want to delete, and then click Done.
Output Schema
The output schema for the Delete File action returns a message string. For example, when an action successfully completes, an appropriate message appears.
See a sample output schema in the figure that follows: