« Back to Documentation Overview

folderDel – v1.3

 folderDel(string apikey, int fid, string type)

Delete a campaign or autoresponder folder. Note that this will simply make campaigns in the folder appear unfiled, they are not removed.

Section
Folder Related
Parameters
apikey a valid API Key for your user account. Get by visiting your API dashboard
fid the folder id to update - retrieve from folders()
type optional - the type of folder to create - either "campaign" or "autoresponder". Defaults to "campaign"
Returns
bool true if the delete worked, otherwise an exception is thrown