Skip to main content
DELETE
Delete a folder (its lists move to the root)

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Path Parameters

folderId
string
required

24-character hex id of the folder (from GET /business/folders).

Query Parameters

type
enum<string>

Kind of the folder being changed: required as campaign or agent for those folder kinds; omit (or pass contactList/companyList) for a list folder, which resolves by id alone.

Available options:
contactList,
companyList,
campaign,
agent

Response

Deleted