---
title: "Update vault webhook subscription"
method: PATCH
path: "/vault/{id}/events/subscriptions/{subscriptionId}"
tags: ["Vaults"]
---

# Update vault webhook subscription

`PATCH /vault/{id}/events/subscriptions/{subscriptionId}`

Updates callback URL, filters, active state, or signing secret for a vault webhook subscription.

## Path parameters

- `id` string, required
- `subscriptionId` string, required

## Request body

- object
  - `callbackUrl` string, uri — Updated webhook endpoint URL for deliveries
  - `eventTypes` string[] — Updated event types to deliver for this subscription
  - `objectIds` string[] — Updated vault object IDs to limit notifications to. Pass an empty array to remove the filter.
  - `isActive` boolean — Whether the subscription should continue delivering events
  - `signingSecret` string — Replacement secret used to sign webhook deliveries
  - `clearSigningSecret` boolean — Whether to remove the existing signing secret

## Response `200`

Vault webhook subscription updated successfully

## Other responses

- `400` — Webhook payload is invalid or references unknown vault objects
- `401` — Invalid API key
- `403` — API key does not have write access to vault service
- `404` — Vault or subscription not found

---

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