Remove All Flight Alert

Hello,

How can I remove all flight alerts ?

Thank you,
Vedang.

You can delete alerts with the DeleteAlert method. To delete all of your alerts call GetAlerts then iterate over the result passing each alertId into DeleteAlert. Here is some pseudocode:



alerts = GetAlerts();
foreach (alert in alerts) {
    result = DeleteAlert(alert.getAlertId());
    // If the result is 0 notify that the delete failed.
}


uh… is this a forum for developers? Is there away to delete/stop alerts that a normal user can implement?

thanks