fix webhook doc

This commit is contained in:
Dev-Khant
2025-02-20 01:27:26 +05:30
parent 0e6b20982a
commit d4df9f6dfe

View File

@@ -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)
```