fix webhook doc
This commit is contained in:
@@ -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)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user