src/Client.php
/**
     * Deletes an existing WebHook registration
     *
     * @param Model\WebHook $webHook The web hook which should be deleted
     * @return bool True if the web hook was deleted
     *
     * @throws QuotaExceededException If the maximum number of calls per second exceeded
     * @throws InvalidArgumentException If the web hook has no id
     * @throws Exception If the response cannot be parsed
     */
Deletes an existing WebHook registration
@param Model\WebHook $webHook The web hook which should be deleted
@return bool True if the web hook was deleted

@throws QuotaExceededException If the maximum number of calls per second exceeded
@throws InvalidArgumentException If the web hook has no id
@throws Exception If the response cannot be parsed
Deletes an existing WebHook registration @param Model \ WebHook $webHook The web hook which should be deleted @return bool True if the web hook was deleted @throws QuotaExceededException If the maximum number of calls per second exceeded @throws InvalidArgumentException If the web hook has no id @throws Exception If the response cannot be parsed
public function deleteWebHook(Model\WebHook $webHook)
    {
        if ($webHook->id === null) {
            throw new InvalidArgumentException('The id of the webHook cannot be empty');
        }
        $res = $this->requestDELETE(
            'webhooks/' . $webHook->id,
            [],
            Response\BaseResponse::class
        );
        return $res === null;
    }
public function deleteWebHook ( Model \ WebHook $ webHook ) { if ( $ webHook -> id === null ) { throw new InvalidArgumentException ( 'The id of the webHook cannot be empty' ) ; } $ res = $ this -> requestDELETE ( 'webhooks/' . $ webHook -> id , [ ] , Response \ BaseResponse :: class ) ; return $ res === null ; }
Deletes an existing WebHook registration
 @param Model\WebHook $webHook The web hook which should be deleted
 @return bool True if the web hook was deleted
Deletes an existing WebHook registration @param Model \ WebHook $webHook The web hook which should be deleted @return bool True if the web hook was deleted