LiquidFiles Documentation
LiquidFiles Documentation

Delete Folder Shares API

There are two delete methods, trash and delete. Trash will soft-delete the folder, i.e. after a trash, you can still restore the folder. If you use the Delete method (without /trash), the folder is permanently deleted and will no longer be able to be restored.

Request Info
Info Value
Request URL /shares/_share_id_/folders/_folder_id_
Request VERB DELETE

Example Request in JSON

curl -X DELETE -H "Authorization: Bearer nkpIxMK9ucUUE7FvfNpdAf" \
     -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     https://test.host/shares/project-alpha/folders/goals
Request Info
Info Value
Request URL /shares/_share_id_/folders/_folder_id_/trash
Request VERB DELETE

Example Request in JSON

curl -X DELETE -H "Authorization: Bearer nkpIxMK9ucUUE7FvfNpdAf" \
     -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     https://test.host/shares/project-alpha/folders/goals/trash