---
title: "Update Webhook"
method: PATCH
path: "/webhooks/{id}"
tags: ["Manage Webhooks"]
---

# Update Webhook

`PATCH /webhooks/{id}`

Update the url or event subscriptions for a webhook. You can only update webhooks created by your own app.

## Path parameters

- `id` string, required

## Request body

- object
  - `url` string — The new webhook endpoint URL.
  - `events` string[] — The list of event types to subscribe to.

## Response `200`

The request has been successfully submitted.

- CommonResponse
  - `request_id` string, required — Unique identifier for the request.
  - `error_code` integer, required — Numeric error code representing the status of the response. A value of `200` indicates success. <br> See the [Error Codes](/reference/error-manual#error-codes) section for more information.
  - `error_msg` string, required — Message detailing the status of the response.

---

[API](https://skmtc.net/hostex/apis/hostex-api.md) · [All operations](https://skmtc.net/hostex/apis/hostex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostex/hostex-api/versions/a3fa555dee66/schema)
