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

# Update webhook

> Partially updates a webhook endpoint. Use this to change the URL, update the event list, or re-enable an auto-disabled endpoint.

<ParamField header="x-api-key" type="string" required>
  BOH API key with `admin:webhooks` scope.
</ParamField>

<ParamField path="webhookId" type="string" required>
  Webhook endpoint UUID.
</ParamField>

<ParamField body="url" type="string">
  New HTTPS URL.
</ParamField>

<ParamField body="events" type="string[]">
  New event subscription list (replaces the existing list).
</ParamField>

<ParamField body="is_active" type="boolean">
  Set `true` to re-enable an auto-disabled endpoint. Setting `false` manually disables it.
</ParamField>

<ResponseField name="endpoint" type="object">
  Updated webhook endpoint.
</ResponseField>

<RequestExample>
  ```json Re-enable auto-disabled endpoint theme={null}
  {
    "is_active": true
  }
  ```

  ```json Update event subscriptions theme={null}
  {
    "events": [
      "inventory_transaction.completed",
      "inventory_transaction.failed"
    ]
  }
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "endpoint": {
      "id": "wep_01j5k...",
      "url": "https://yourapp.com/webhooks/boh",
      "events": ["inventory_transaction.completed", "inventory_transaction.failed"],
      "is_active": true,
      "consecutive_failures": 0,
      "updated_at": "2026-08-07T15:00:00.000Z"
    }
  }
  ```
</ResponseExample>
