Delete Folder

Delete a folder. Documents inside the folder are moved to root (not deleted). Sub-folders are detached likewise.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

idstringRequired
folderIdstringRequired

Query parameters

forcebooleanOptional

When true, delete the folder even if it still contains documents or sub-folders; contents are moved to root.

Response

Folder deleted.

Errors

401
Unauthorized Error
404
Not Found Error