You are here

function Mandrill::webhooks_update in Mandrill 6

@link https://mandrillapp.com/api/docs/webhooks.html#method=update

Return value

array|Mandrill_Exception

File

./mandrill.class.php, line 297

Class

Mandrill

Code

function webhooks_update($url, $events) {
  return $this
    ->request('webhooks/update', array(
    'url' => $url,
    'events' => $events,
  ));
}