def mark_alert_as_read(self, alert_id):
        """
        Mark an alert as read.
        :param alert_id: The ID of the alert to mark as read.
        :return:
        """
        req = self.url + "/api/alert/{}/markAsRead".format(alert_id)

        try:
            return requests.post(req, headers={'Content-Type': 'application/json'}, proxies=self.proxies, auth=self.auth, verify=self.cert)
        except requests.exceptions.RequestException:
            raise AlertException("Mark alert as read error: {}".format(e))
def mark_alert_as_read ( self , alert_id ) : req = self . url + "/api/alert/{}/markAsRead" . format ( alert_id ) try : return requests . post ( req , headers = { 'Content-Type' : 'application/json' } , proxies = self . proxies , auth = self . auth , verify = self . cert ) except requests . exceptions . RequestException : raise AlertException ( "Mark alert as read error: {}" . format ( e ) )
Mark an alert as read.
        :param alert_id: The ID of the alert to mark as read.
        :return: