# Delete Old Version

> Activity for deleting an old version of a file in Box using the Remove file version API

`UiPath.Box.Activities.File.FileVersions.DeleteOldVersion`

Uses the Box [Remove file version](https://developer.box.com/reference/delete-files-id-versions-id/) API to delete an old file version. Depending on the enterprise settings for this user, the item is either actually deleted from Box or moved to the trash.

## Properties

### Common

* **ContinueOnError** - Specifies if you want the activity to continue running when an error is thrown. This field supports only `Boolean` values.
* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Input

* **File ID** - The ID of the file. This field supports only `Strings` or `String` variables.
* **Version ID** - The ID of the file version. This field supports only `Strings` or `String` variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **IsSuccessful** - The result of the delete operation. Returns true if successful. This field supports only `Boolean` values.
