Delete a folder

Permanently delete a folder and its documents. The documents are removed from all workspaces. The custom-documents folder cannot be deleted.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <API_KEY>, where API_KEY is your API key.

Path parameters

orgIdstringRequired
Organization that owns the folder.
folderNamestringRequired
Folder to delete.

Headers

X-Account-IdstringRequired
Account that owns the organization.

Response

Confirms the folder and its documents were deleted.
successboolean
True when the folder and its documents were deleted.
folderstring
The name of the deleted folder.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error