Move file
Move a file to another folder. Can replace a file of the same name there, which then goes to the Box trash.
Command in the Box toolkit · id ooa.box/move_file · 6 inputs (3 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| File ID | String | Yes | File to move. | |
| Target folder ID | String | Yes | Folder to move it into. | |
| Access token | Credential | Yes | Box access token from the vault. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| As user | String | No | Act on behalf of this Box user id (needs an admin or service account token). Leave empty to act as yourself. | |
| Endpoint address | String | No | https://api.box.com | Box API address. Leave the default unless your administrator gives you another. |
| Overwrite | Boolean | No | false | If a file of the same name is already in the target folder, move that file to the trash and then move this one. |