Method
updateWebhook PATCH
Copy PATCH

Update the webhook

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes webhookId str The ID of the webhook to be updated.
No endpoint str If provided, changes the webhook's endpoint.
No webhookEventType str If provided, changes the event type.
No payloadTemplate dict If provided, changes the payload template.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
DataNotFoundError

webhookId is not found.

Language: