---
title: "Update a webhook (name/url/events)"
method: PATCH
path: "/v1/orgs/{orgId}/webhooks/{id}"
tags: ["Webhooks"]
---

# Update a webhook (name/url/events)

`PATCH /v1/orgs/{orgId}/webhooks/{id}`

## Path parameters

- `orgId` string, required
- `id` string, required

## Request body

- UpdateWebhookRequest
  - `events` string[]
  - `name` string
  - `url` string

## Response `200`

Updated

- WebhookUpdateResult
  - `events` string[], required
  - `id` string, required
  - `name` string, required
  - `url` string, required

## Other responses

- `400` — The request is invalid
- `401` — Missing or invalid API key
- `403` — API key lacks the required scope
- `404` — Resource not found

---

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