public function listAlerts()
    {
        if (! isset($this->config['access_token'])) {
            throw new Exception('StatHat Alerts API Access Token not set.');
        }

        $result = $this->deleteAlertCurl('x/'.$this->config['access_token'].'/alerts/'.$alert_id);

        return $result;
    }
public function listAlerts()
    {
        if (! isset($this->config['access_token'])) {
            throw new Exception('StatHat Alerts API Access Token not set.');
        }

        $result = $this->deleteAlertCurl('x/'.$this->config['access_token'].'/alerts/'.$alert_id);

        return $result;
    }
public function listAlerts ( ) { if ( ! isset ( $ this -> config [ 'access_token' ] ) ) { throw new Exception ( 'StatHat Alerts API Access Token not set.' ) ; } $ result = $ this -> deleteAlertCurl ( 'x/' . $ this -> config [ 'access_token' ] . '/alerts/' . $ alert_id ) ; return $ result ; }
List stat alerts using the Alerts API. Used to look up alert IDs of alerts assigned
to certain stats.

@see https://www.stathat.com/manual/alerts_api
@throws \Exception
List stat alerts using the Alerts API . Used to look up alert IDs of alerts assigned to certain stats .