> ## Documentation Index
> Fetch the complete documentation index at: https://docs.danubeai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Webhook

> Update a webhook URL, events, or active status

## Overview

Update an existing webhook's URL, subscribed events, active status, or description. Only the fields you include in the request body will be updated.

**Auth:** Requires JWT token (`Authorization: Bearer <token>`). Only the webhook owner can update it.

## Path Parameters

<ParamField path="webhook_id" type="string" required>
  The webhook UUID to update
</ParamField>

## Body Parameters

All fields are optional. Include only the fields you want to change.

<ParamField body="url" type="string">
  New HTTPS URL. Must start with `https://`.
</ParamField>

<ParamField body="events" type="string[]">
  New set of event types to subscribe to.
</ParamField>

<ParamField body="is_active" type="boolean">
  Set to `false` to pause deliveries without deleting the webhook, or `true` to re-enable.
</ParamField>

<ParamField body="description" type="string">
  Updated description.
</ParamField>

## Example

<RequestExample>
  ```bash cURL theme={null}
  curl -X PATCH "https://api.danubeai.com/v1/webhooks/f47ac10b-58cc-4372-a567-0e02b2c3d479" \
    -H "Authorization: Bearer YOUR_JWT_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"is_active": false}'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "url": "https://example.com/webhooks/danube",
    "events": ["tool.execution.completed", "tool.execution.failed"],
    "is_active": false,
    "description": "Production monitoring",
    "created_at": "2026-02-20T10:00:00Z",
    "updated_at": "2026-02-24T15:30:00Z"
  }
  ```
</ResponseExample>
