Skip to main content
DELETE
Delete a folder

Authorizations

Authorization
string
header
required

Workspace-scoped API key, sent as a bearer token. The recommended header. The workspace is implicit in the key and never appears in a URL.

Path Parameters

id
string
required

The folder id, as an earlier response reported it. Always dir_….

Example:

"dir_9f2k1x8b3m7q0v"

Query Parameters

recursive
boolean
default:false

Delete the folder together with everything below it. Left off, a folder that still has contents is refused as folder_not_empty and nothing is removed.

Example:

true

Response

Deleted. No body.