Deletes a file from Box by moving it to trash or permanently (based on enterprise settings). Use the `if_match` parameter with the file's ETag for safe concurrent operations. To permanently delete a trashed file, use the 'Permanently remove file' action instead.
file_idRequiredstringThe unique identifier of the file to delete. You can find the file ID by viewing the file in Box web app and copying from the URL (e.g., for `https://*.app.box.com/files/123` the file_id is `123`).
if_matchstringOptional ETag value for optimistic concurrency control. Pass the file's last observed `etag` value to ensure the file hasn't been modified since you last retrieved it. If the file has changed, the request fails with HTTP 412 Precondition Failed. You can get the etag from the fil…
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.