Delete file

DELETE https://{{api.box.com}}/2.0/files/:file_id

Deletes a file, either permanently or by moving it to

https://developer.box.com/reference/delete-files-id

HEADERS

KeyDatatypeRequiredDescription
if-matchnumberEnsures this item hasn't recently changed before
making changes.

Pass in the item's last observed etag value into this header and the endpoint will fail with a 412 Precondition Failed if it has changed since. |