original_string: public function deleteAlert($alert_id)
      {
          if (! isset($this->config['access_token'])) {
              throw new Exception('StatHat Alerts API Access Token not set.');
          }
  
          $result = $this->curlDelete($this->alerts_url.'/x/'.$this->config['access_token'].'/alerts/'.$alert_id);
  
          return $result;
      }
code: public function deleteAlert($alert_id)
      {
          if (! isset($this->config['access_token'])) {
              throw new Exception('StatHat Alerts API Access Token not set.');
          }
  
          $result = $this->curlDelete($this->alerts_url.'/x/'.$this->config['access_token'].'/alerts/'.$alert_id);
  
          return $result;
      }
code_tokens: public function deleteAlert ( $ alert_id ) { if ( ! isset ( $ this -> config [ 'access_token' ] ) ) { throw new Exception ( 'StatHat Alerts API Access Token not set.' ) ; } $ result = $ this -> curlDelete ( $ this -> alerts_url . '/x/' . $ this -> config [ 'access_token' ] . '/alerts/' . $ alert_id ) ; return $ result ; }
docstring: Delete a stat alert using the Alerts API.
  
  @see https://www.stathat.com/manual/alerts_api
  @param string $alert_id - Unique id of alert to be deleted
  @throws \Exception
docstring_tokens: Delete a stat alert using the Alerts API .