LiquidFiles Documentation
LiquidFiles Documentation

Delete Folder Shares API

There are two delete methods, delete and trash. Delete will delete the folder in a non-permanent way. I.e. after a delete, you can still restore the folder. If you use the Trash method, the folder is 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 --user nkpIxMK9ucUUE7FvfNpdAf:x \
     -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 --user nkpIxMK9ucUUE7FvfNpdAf:x \
     -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     https://test.host/shares/project-alpha/folders/goals/trash