client.update_webhook

To update a webhook, by changing name, url or provider.

Input ParametersTypeDefaultDescription
namestrNoneA unique name for the webhook.
urlstrNoneThe webhook url used for sending notification messages.
providerstrNoneThe platform that provides webhooks functionality. Only ‘SLACK’ is supported.
uuidstrNoneThe unique system generated identifier for the webook.
client.update_webhook(uuid='e20bf4cc-d2cf-4540-baef-d96913b14f1b',
                      name='drift_violation',
                      url='https://hooks.slack.com/services/T9EAVLUQ5/P982J/G8ISUczk37hxQ15C28d',
                      provider='SLACK')
Return TypeDescription
fdl.WebhookDetails of Webhook after modification.

Example Response:

Webhook(uuid='e20bf4cc-d2cf-4540-baef-d96913b14f1b',
        name='drift_violation', organization_name='some_org_name',
        url='https://hooks.slack.com/services/T9EAVLUQ5/P982J/G8ISUczk37hxQ15C28d',
        provider='SLACK')