v1

latestOpenAPI 3.0.2Apache-2.02026-07-142963051.0 MB
File versions

Remove file version

Move a file version to the trash.

Versions are only tracked for Box users with premium accounts.

delete/files/{file_id}/versions/{file_version_id}

Path parameters

file_idstring required

The unique identifier that represents a file.

The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/files/123 the file_id is 123.

file_version_idstring required

The ID of the file version.

Headers

if-matchstring

Ensures 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.

Response

Returns an empty response when the file has been successfully deleted.