Delete folder
Move a folder to the Box trash. A folder that still has content is only removed when you allow it.
Command in the Box toolkit · id ooa.box/delete_folder · 5 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Folder ID | String | Yes | Folder to delete. | |
| Include contents | Boolean | No | false | Also delete everything inside the folder. |
| 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. |