Delete file in Box

Last published at: May 14th, 2024


Create a new directory on the Box.


  • selOAuthProvider - Select OAuth provider
  • destinationFilePath - Path/FileID to delete file
  • resultJson - Store result in Variable or Global


  • True – step executed successfully 
  • False – step failed to execute



To use this step, you must configure Dropbox in FlowWright application.  


Let’s build and execute the BoxDeleteFileDef example.  

  • Create a new definition called “BoxDeleteFileDef”
  • Select the definition and click the “design” button
  • Drag a BoxDeleteFile step to the canvas
  • Connect the dots between the start and BoxDeleteFile step

  • Click on the “BoxDeleteFile” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic 
  • Save the workflow definition, create a workflow instance and execute.  Step should delete the file in the box.