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

KeyDatatypeRequiredDescription
recursivebooleanDelete a folder that is not empty by recursively deleting the
folder and all of its content.

HEADERS

KeyDatatypeRequiredDescription
if-matchnumberEnsures 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. |