---
title: "Update Webhook"
method: PATCH
path: "/api/v1/webhooks/{webhook_id}"
tags: ["webhooks-browser", "Webhooks"]
---

# Update Webhook

`PATCH /api/v1/webhooks/{webhook_id}`

## Request

- Base URL: `https://kyt.infinihash.com`
- URL: `https://kyt.infinihash.com/api/v1/webhooks/{webhook_id}`
- Auth: API key in header `X-API-Key`

## Path parameters

- `webhook_id` string, required

## Request body

- WebhookUpdate
  - `url` string, nullable
  - `events` string[], nullable
  - `active` boolean, nullable

## Response `200`

Successful Response

- WebhookOut
  - `id` string, required
  - `url` string, required
  - `events` string[], nullable, required
  - `active` boolean, required
  - `created_at` string, date-time, required
  - `secret_hint` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/infinihash/apis/infinihash-kyt.md) · [All operations](https://skmtc.dev/infinihash/apis/infinihash-kyt/llms.txt) · [OpenAPI document](https://skmtc.dev/infinihash/apis/infinihash-kyt/revisions/e575fa9c63fd?raw)
