---
title: "Update webhook"
method: PUT
path: "/webhooks/{id}"
tags: ["webhooks"]
---

# Update webhook

`PUT /webhooks/{id}`

Updates the callback URL and scopes of an existing webhook.

## Path parameters

- `id` integer, required

## Request body

- RegisterWebHookRequest
  - `callbackURL` string, uri, required — URL that will receive webhook event POST requests.
  - `scopes` string[], required — Event scopes to subscribe to.

## Response `200`

Webhook updated.

---

[API](https://skmtc.dev/siafoundation/apis/hostd-api.md) · [All operations](https://skmtc.dev/siafoundation/apis/hostd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siafoundation/hostd-api/revisions/08ff756929fc/schema)
