---
title: "Update a webhook subscription"
method: PATCH
path: "/webhooks/{webhook_id}"
tags: ["Webhooks"]
---

# Update a webhook subscription

`PATCH /webhooks/{webhook_id}`

Updates a webhook subscription

## Path parameters

- `webhook_id` string, required

## Request body

- WebhookPatch
  - `url` string — Webhook callback URL
  - `description` string — Optional description of the webhook's intended use
  - `events` string[] — List of events enabled in the webhook subscription
  - `version` string — version of webhook event envelope
  - `status` 'STATUS_ENABLED' | 'STATUS_DISABLED' — status of webhook. `enabled` or `disabled`

## Response `200`

- Webhook
  - `webhook_subscription` object
    - `id` string — uuid of webhook
    - `url` string — Webhook callback URL
    - `description` string — Optional description of the webhook's intended use
    - `events` string[] — List of events enabled in the webhook subscription
    - `version` string — version of webhook event envelope
    - `secret` string
    - `status` 'enabled' | 'disabled' — status of webhook. `enabled` or `disabled`
    - `creted_time` string
    - `updated_time` string

---

[API](https://skmtc.net/bond/apis/customer.md) · [All operations](https://skmtc.net/bond/apis/customer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bond/customer/revisions/62f5ac53144d/schema)
