Delete SMS campaign from the account of a specific Mailigen user.

It is not possible to restore the deleted SMS campaign (!). By deleting SMS campaign, SMS campaign reports will also be deleted.
smsCampaignDelete(string $cid) : boolean
Input parameters
  • cid - SMS campaign ID
Information obtained
  • true, if the request for SMS campaign delete has succeeded. Otherwise, an error message is returned.


header("Content-Type: text/plain");
if ($api->errorCode){
    echo "Unable to load smsCampaignDelete()!\n";
    echo "\tCode=".$api->errorCode."\n";
    echo "\tMsg=".$api->errorMessage."\n";
} else {
    echo "SMS Campaign Deleted!\n";

© 2010-2017 Mailigen. All rights reserved.