---
title: "Edit a watch (bearer-authed)"
method: PATCH
path: "/v1/watch/{id}"
---

# Edit a watch (bearer-authed)

`PATCH /v1/watch/{id}`

## Request

- Base URL: `https://x402-trust.com`
- URL: `https://x402-trust.com/v1/watch/{id}`
- Auth: none declared

Change a watch's webhook or Slack URLs, liveness sensitivity, or subscribed events. New URLs are connection-tested first; if any fails, the existing config stays unchanged. Delivery fields are full-replace per channel.

## Path parameters

- `id` string, required

## Request body

- object
  - `events` unknown[]: Optional event types to subscribe to (default all).
    - unknown
  - `liveness_sensitivity_n` integer: 1=paranoid … 10=relaxed; default 2.
  - `delivery` object: { webhook_url(s), slack_url(s) } — full replace per channel; max 5 each.

## Response `200`

Updated watch view

- object

## Other responses

- `400`: Validation or connection-test failure
- `401`: Missing/invalid bearer secret
- `409`: Watch is not active

---

[API](https://skmtc.dev/x402-trust/apis/x402-trust-trust-reliability-data-for-the-x402-ecosystem.md) · [All operations](https://skmtc.dev/x402-trust/apis/x402-trust-trust-reliability-data-for-the-x402-ecosystem/llms.txt) · [OpenAPI document](https://skmtc.dev/x402-trust/apis/x402-trust-trust-reliability-data-for-the-x402-ecosystem/revisions/2a53d895d466?raw)
