Delete an asset folder
Deletes the folder and every folder inside it, and takes the assets in them out of the library like `DELETE /v1/assets/{id}` (archived: their files and URLs stay for emails that show them). The answer says how many of each went.
Deletes the folder and every folder inside it, and takes the assets in them out of the library like DELETE /v1/assets/{id} (archived: their files and URLs stay for emails that show them). 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, the folder itself included
assets*integerAssets archived (taken out of the library)
curl -X DELETE 'https://api.postforge.dev/v1/asset-folders/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "folders": 0, "assets": 0}Rename or move an asset folder PATCH
Moving takes everything in it along. 409 `asset_folder_exists` for a name the destination has; 422 `asset_folder_cycle` when moving it into itself or a folder inside it; 422 `asset_folder_limit` past the depth.
List profile imports GET
Newest first. Search matches the file name.