Skip to main content
DELETE
Trash or permanently delete a folder

Authorizations

Authorization
string
header
required

Personal Access Token. Send as Authorization: Bearer hq_pat_....

Path Parameters

id
string<uuid>
required

Folder id

Query Parameters

purge
boolean | null

When true, permanently delete (and drop the bytes when no other document shares them) instead of moving to Trash. This is "delete forever" / empty-trash; the default soft-deletes so it can be restored.

Response

Trashed (or purged with ?purge=true)