---
title: "PATCH /webhook/{webhook_id}"
method: PATCH
path: "/webhook/{webhook_id}"
tags: ["Webhook"]
---

# PATCH /webhook/{webhook_id}

`PATCH /webhook/{webhook_id}`

Update a webhook subscription.

⚠️ Our webhooks always call the POST method of the given url.

For more information on webhooks such as how to secure them, you can refer to <a href='https://developers.getdefacto.com/reference/introduction'>our guide</a>.

## Path parameters

- `webhook_id` string, required

## Request body

- CreateWebhook
  - `event_types` string[], required
  - `name` string, required
  - `to_url` string, url, required

## Response `200`

OK

---

[API](https://skmtc.net/getdefacto/apis/api-reference.md) · [All operations](https://skmtc.net/getdefacto/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getdefacto/api-reference/revisions/0a9c1f8784f2/schema)
