Skip to main content
Delete folders

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Query Parameters

hardDelete
boolean
default:false

Whether to destroy the folders outright instead of moving them to the trash. What is destroyed cannot be restored, and it takes with it everything filed underneath - except a document the caller may only read, which is spared either way.

Example:

false

Body

application/json
folderIds
string[]

Folders the operation applies to. Each is taken with everything nested underneath it, so naming a folder reaches its whole subtree.

Example:

Response

Returns the entries that did not go through.

count
integer
required

Number of items the request processed, successful and failed alike.

Example:

22

errors
boolean
required

Whether any item failed. Check it before treating the call as a clean success - the request itself answers 200 even when individual items did not go through.

Example:

false

items
object[]

Per-item outcomes. Endpoints report the failed items here; some also list the successful ones, so read each item's own status rather than inferring it from being listed.