---
title: "Update webhook subscription"
method: PATCH
path: "/api/v1/webhook-subscriptions/{id}"
tags: ["webhook-subscriptions"]
---

# Update webhook subscription

`PATCH /api/v1/webhook-subscriptions/{id}`

Partially updates a webhook subscription by its identifier.

## Path parameters

- `id` string, uuid, required

## Request body

- WebhookSubscriptionUpdate
  - `event_types` string[]
  - `headers` object, nullable
  - `metadata` object, nullable
  - `name` string
  - `url` string, uri
  - `active` boolean

## Response `200`

Webhook subscription updated.

- WebhookSubscriptionUpdateResponse
  - `status` 'ACTIVE' | 'DISABLED_BY_FAILURES' | 'DISABLED_BY_USER', required
  - `headers` object, nullable, required
  - `metadata` object, nullable, required
  - `id` string, required
  - `name` string, required
  - `url` string, required
  - `event_types` string[], required
  - `disabled_at` string, nullable, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `400` — Request payload, query string, or path parameter failed validation.
- `401` — Authentication is missing, malformed, expired, or refers to a session that is no longer active.
- `403` — The caller is authenticated but lacks the required permission for this action.
- `404` — WebhookSubscription not found in the caller account.
- `422` — The payload passed schema validation but breaks a domain invariant.
- `500` — Unexpected server error. The response body never leaks internal details.

## Changes

- **2026-07-07** `a3b4750a505f` — 1 breaking, 10 info
  - the `event_types` request property's minItems was increased to `1`
  - added the new optional request property `active`
  - added the new optional request property `name`
  - added the new optional request property `url`
  - …7 more
- **2026-07-07** `84194c31ab85` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/kruzer-corp/apis/oms-api/changes/api/v1/webhook-subscriptions/:id/patch.md)

---

[API](https://skmtc.dev/kruzer-corp/apis/oms-api.md) · [All operations](https://skmtc.dev/kruzer-corp/apis/oms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kruzer-corp/oms-api/revisions/b692de7cc4d2/schema)
