SevenShores\Hubspot\Resources\Webhooks::updateSettings PHP Method

updateSettings() public method

Update webhook settings.
public updateSettings ( integer $app_id, array $settings ) : Response
$app_id integer
$settings array
return SevenShores\Hubspot\Http\Response
    function updateSettings($app_id, $settings)
    {
        $endpoint = "https://api.hubapiqa.com/webhooks/v1/{$app_id}/settings";
        $options['json'] = $settings;
        return $this->client->request('put', $endpoint, $options);
    }