Delete multiple folders
DELETE {{api-server}}/:token/{{api-version}}/folders
This API endpoint is used to delete multiple folders.
Body attributes
Attribute | Description | Type | Required |
---|---|---|---|
folders_uuids | List with the UUIDs of the folders to be deleted. The UUIDs should be seperated by comma | array | Yes |
Please ensure that the X-Filerobot-Key which is used for the request (the API Key or the Security Template) has both DIRDELETE and OBJECTSFETCH permissions.
Request Body
{"folders_uuids"=>["64431ecf-d454-50fa-8a45-dea4c8209049", "deeb3845-380b-51e1-9299-79c17c052364"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Filerobot-Key | string | Fileerobot API key | |
Content-Type | string |
RESPONSES
status: OK
{"status":"success","action":"folders_deleted","folders_uuids":["64431ecf-d454-50fa-8a45-dea4c8209049","deeb3845-380b-51e1-9299-79c17c052364"],"api_version":{"hash":"ed8718a742085aed68a46b4a95c50ac0a1d0d1ae","datetime":"2023-07-18T11:26:26+07:00"}}