Rename file
Give a file a new name in the same folder.
Command in the Box toolkit · id ooa.box/rename_file · 5 inputs (3 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| File ID | String | Yes | File to rename. | |
| New name | String | Yes | New file name including the extension, e.g. Q4-report.xlsx. | |
| 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. |