---
title: "Update a project webhook"
method: PATCH
path: "/projects/{project_id}/webhooks/{webhook_id}"
tags: ["project-webhooks"]
---

# Update a project webhook

`PATCH /projects/{project_id}/webhooks/{webhook_id}`

Partially update URL, events, or enabled flag.

## Path parameters

- `project_id` string, required
- `webhook_id` string, required

## Request body

- UpdateProjectWebhook — Partial update for a project webhook.
  - `url` string, nullable — HTTPS destination URL.
  - `events` WebhookEvent[], nullable — Events that should trigger delivery.
  - `enabled` boolean, nullable — Whether the webhook is active.

## Response `200`

Successful Response

- ProjectWebhook — A project webhook as returned by list/get (secret omitted).
  - `id` string, required
  - `project_id` string, required
  - `organization_id` string, required
  - `url` string, required
  - `events` string[], required
  - `enabled` boolean, required
  - `consecutive_failures` integer
  - `disabled_reason` string, nullable
  - `created_by` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
