Delete folder
DELETE https://{{api.box.com}}/2.0/folders/:folder_id
Deletes a folder, either permanently or by moving it to
https://developer.box.com/reference/delete-folders-id
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
recursive | boolean | Delete a folder that is not empty by recursively deleting the | |
folder and all of its content. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | number | 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. |