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

# Atualizar webhook

> Atualiza a URL, os eventos subscritos ou o status de um webhook existente.

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

<ParamField path="webhookId" type="string" required>UUID do webhook.</ParamField>
<ParamField body="url" type="string">Nova URL de destino.</ParamField>
<ParamField body="events" type="string[]">Nova lista de tipos de evento.</ParamField>
<ParamField body="secret" type="string">Novo segredo de assinatura.</ParamField>
<ParamField body="status" type="string">`ACTIVE` ou `INACTIVE`.</ParamField>

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

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