diff --git a/docs/features/webhook.mdx b/docs/features/webhook.mdx index d3b59d2f..5c083117 100644 --- a/docs/features/webhook.mdx +++ b/docs/features/webhook.mdx @@ -121,17 +121,14 @@ Modify an existing webhook's configuration. Remember that webhooks can only be u ```python Python # Update webhook in default project updated_webhook = client.update_webhook( - webhook_id="wh_123", name="Updated Logger", url="https://your-app.com/new-webhook" ) # Or update in a specific project updated_webhook = client.update_webhook( - webhook_id="wh_123", name="Updated Logger", - url="https://your-app.com/new-webhook", - project_id="proj_123" + url="https://your-app.com/new-webhook" ) print(updated_webhook) ```