v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
Folders

Delete a folder

Deletes a folder. By default, non-empty folders (containing documents or sub-folders) return a 400 error. Pass force=true to recursively archive all documents (soft-delete to trash) and permanently remove all sub-folders before deleting the target folder. Force delete is limited to 100 total items (documents + sub-folders).

delete/api/v1/folders/{folderId}

Path parameters

folderIdstring uuid required

Unique identifier for the folder

Example:550e8400-e29b-41d4-a716-446655440000

Unique identifier for the folder

Query parameters

forceboolean nullable

When true, recursively deletes all documents (sent to trash) and sub-folders within the folder. Limited to 100 total items (documents + sub-folders).

When true, recursively deletes all documents (sent to trash) and sub-folders within the folder. Limited to 100 total items (documents + sub-folders).

Response

Folder deleted successfully

successboolean required

Whether the folder was deleted successfully