Trash or permanently delete a folder
DELETE/v1/folders/{id}
Trashes the folder and its subtree (restore with `PATCH { trashed: false }`). `?permanent=true` permanently deletes an already-trashed folder + its contents (irreversible).
Requires an API key (bearer), scoped to the active org. Supports idempotency keys.
Path parameters
idstringrequired
Query parameters
permanentstringoptionalPossible values:
true,false
Returns
200The trashed folder, or a deletion confirmation when `?permanent=true`.
Failures use the standard error envelope with a closed set of codes.