Delete a folder
Deletes the folder and every folder inside it, and takes what’s in them out of the library: assets like `DELETE /v1/assets/{id}` (their files and URLs stay for emails that show them), templates like `DELETE /v1/templates/{id}`. The answer says how many of each went.
Deletes the folder and every folder inside it, and takes what’s in them out of the library: assets like DELETE /v1/assets/{id} (their files and URLs stay for emails that show them), templates like DELETE /v1/templates/{id}. The answer says how many of each went.
apiKey writeAuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: write
id*stringuuididempotency-key?stringRun this write once: a retry with the same key gets the first answer (24 hours).
1 <= length <= 255OK
application/json- response
folders*integerFolders deleted, itself included
items*integerAssets or templates taken out of the library (archived)
curl -X DELETE 'https://api.postforge.dev/v1/folders/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "folders": 0, "items": 0}Rename or move a folder PATCH
Moving takes everything in it along, into a folder of the same kind. 409 `folder_exists` for a name the destination has; 422 `folder_cycle` when moving it into itself or a folder inside it; 422 `folder_limit` past the depth.
List profile imports GET
Newest first. Search matches the file name.