src/authnet/AuthnetWebhooksRequest.php
public function deleteWebhook($webhookId)
    {
        $this->endpoint = 'webhooks';
        $this->url = sprintf('%s%s/%s', $this->url, $this->endpoint, $webhookId);
        $this->delete($this->url);
    }
public function deleteWebhook($webhookId)
    {
        $this->endpoint = 'webhooks';
        $this->url = sprintf('%s%s/%s', $this->url, $this->endpoint, $webhookId);
        $this->delete($this->url);
    }
public function deleteWebhook ( $ webhookId ) { $ this -> endpoint = 'webhooks' ; $ this -> url = sprintf ( '%s%s/%s' , $ this -> url , $ this -> endpoint , $ webhookId ) ; $ this -> delete ( $ this -> url ) ; }
Delete a webhook

@param   string   $webhookId   Webhook ID to be deleted
@throws  \JohnConde\Authnet\AuthnetCurlException
Delete a webhook