Delete File or Folder
Use this action to delete a file or folder stored in the OneDrive account.
Using the Delete File or Folder Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Drag the Delete File or Folder action under the OneDrive connector to the canvas, place the pointer on the action, and then click or double-click the action. The Delete File or Folder 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 new authorization, refer to the Authorize OneDrive section in the OneDrive connector topic.
* 
If you previously added an authorization for OneDrive, select an authorization from the list.
4. In the File or Folder ID field, select or specify the ID of the file or folder to delete.
5. Click Done.
Was this helpful?