diff --git a/UptimeSharp/Components/Alert.cs b/UptimeSharp/Components/Alert.cs index 55e5b0e..d3eccff 100644 --- a/UptimeSharp/Components/Alert.cs +++ b/UptimeSharp/Components/Alert.cs @@ -54,5 +54,16 @@ namespace UptimeSharp return Get("deleteAlertContact", parameters).Status; } + + + /// + /// Removes an alert. + /// + /// The alert. + /// + public bool DeleteAlert(Alert alert) + { + return DeleteAlert((int)alert.ID); + } } } \ No newline at end of file