---
title: "PATCH /api/v1/users/{user}/webhooks/{webhook}"
method: PATCH
path: "/api/v1/users/{user}/webhooks/{webhook}"
tags: ["UserService"]
---

# PATCH /api/v1/users/{user}/webhooks/{webhook}

`PATCH /api/v1/users/{user}/webhooks/{webhook}`

UpdateUserWebhook updates an existing webhook for a user.

## Path parameters

- `user` string, required
- `webhook` string, required

## Query parameters

- `updateMask` string, field-mask

## Request body

- UserWebhook — UserWebhook represents a webhook owned by a user.
  - `name` string — The name of the webhook. Format: users/{user}/webhooks/{webhook}
  - `url` string — The URL to send the webhook to.
  - `displayName` string — Optional. Human-readable name for the webhook.
  - `createTime` string, date-time — The creation time of the webhook.
  - `updateTime` string, date-time — The last update time of the webhook.
  - `signingSecret` string — Optional. Signing secret used to HMAC-SHA256 sign the webhook request body. This field is input-only; it is never returned in responses.
  - `signingSecretSet` boolean — Whether a signing secret is configured for this webhook.

## Response `200`

OK

- UserWebhook — UserWebhook represents a webhook owned by a user.
  - `name` string — The name of the webhook. Format: users/{user}/webhooks/{webhook}
  - `url` string — The URL to send the webhook to.
  - `displayName` string — Optional. Human-readable name for the webhook.
  - `createTime` string, date-time — The creation time of the webhook.
  - `updateTime` string, date-time — The last update time of the webhook.
  - `signingSecret` string — Optional. Signing secret used to HMAC-SHA256 sign the webhook request body. This field is input-only; it is never returned in responses.
  - `signingSecretSet` boolean — Whether a signing secret is configured for this webhook.

## Other responses

- `default` — Default error response

---

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