Skip to main content
DELETE

Request Body

string
required
The ID of the drive containing the folder.
string
required
The path of the folder to delete.
boolean
When false or omitted, returns a preview of how many files would be deleted. Set to true to perform the recursive deletion.

Response (Preview)

string
The path of the folder.
integer
The number of files that would be deleted.
string
A human-readable message describing the impact of the deletion.

Response (Confirmed)

boolean
Whether the deletion was successful.
integer
The number of files that were deleted.