Skip to content

Remove Empty Image Folder

Tool name: delete-email-editor-image-folder

Removes one EMPTY folder from a KlickTipp account's image library and returns the folders that remain. A folder that still holds anything is refused and says how much -- these tools never delete a picture, because a newsletter that was already sent keeps loading it from the library. Emptying a folder is done by the person in the KlickTipp file manager, and the appUrl of a newsletter answer leads there. Removing a folder that has folders inside it is refused for the same reason; remove those first. Nothing else in the library changes.

Input schema

pathstring, [ 1 .. 250 ] charactersrequired

Path of the folder to remove, as list-email-editor-image-folders lists it

accountIdnull or integer, >= 1

User ID of the account; omit for the account the access token works in

Default:null
Input example
{ "path": "string", "accountId": null }

Output schema

accountIdintegerrequired
foldersArray of stringsrequired
folderCountintegerrequired
changedstring or nullrequired
truncatedbooleanrequired
Output example
{ "accountId": 0, "folders": [ "string" ], "folderCount": 0, "changed": "string", "truncated": true }