> ## 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.

# Actualizar webhook

> Actualiza la URL, los eventos suscritos o el estado de un webhook existente.

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

<ParamField path="webhookId" type="string" required>UUID del webhook.</ParamField>

<ParamField body="url" type="string">Nueva URL de destino.</ParamField>
<ParamField body="events" type="string[]">Nueva lista de tipos de evento (reemplaza la anterior).</ParamField>
<ParamField body="secret" type="string">Nuevo secreto de firma (reemplaza el anterior).</ParamField>
<ParamField body="status" type="string">`ACTIVE` o `INACTIVE`.</ParamField>

<RequestExample>
  ```json theme={null}
  {
    "status": "INACTIVE"
  }
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "wep_01j5k...",
    "status": "INACTIVE"
  }
  ```
</ResponseExample>
