Skip to main content
DELETE
Delete Folder
Soft-deletes a folder (sets archived_at). By default, refuses with 409 if the folder has any non-archived child folder or file. With cascade=true, it archives the folder, every descendant folder, and every file whose folder_id falls anywhere in that subtree — all in one call.

Auth

Requires a CRM manage scope and an active organization on the token. Any *:manage scope qualifies — in practice contacts:manage, deals:manage, companies:manage, or activities:manage.

Response

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

folder_id
string
required

UUID of the folder to soft-delete.

Query Parameters

cascade
boolean
default:false

When true, also archives every descendant folder and every file in the subtree; when false (default), fails with 409 if the folder has any non-archived child folder or file.

Response

Successful Response

The response is of type Response Delete Folder Folders Folder Id Delete · object.