---
title: "Update a workspace webhook endpoint"
method: PATCH
path: "/api/v1/webhooks/{webhookEndpointId}"
tags: ["Webhooks"]
---

# Update a workspace webhook endpoint

`PATCH /api/v1/webhooks/{webhookEndpointId}`

## Request

- Base URL: `https://blendduck.com`
- URL: `https://blendduck.com/api/v1/webhooks/{webhookEndpointId}`
- Auth: HTTP bearer

Update a workspace webhook endpoint.

## Path parameters

- `webhookEndpointId` string, uuid, required

## Headers

- `X-Request-ID` string
- `Idempotency-Key` string

## Request body

- UpdateWebhookEndpointInput
  - `name` string
  - `url` string, uri
  - `eventTypes` string[]
  - `status` 'active' | 'disabled'

## Response `200`

Updated webhook endpoint

- WebhookEndpointResponse
  - `data` object, required
    - `id` string, uuid, required
    - `name` string, required
    - `url` string, uri, required
    - `apiVersion` 'v1', required
    - `eventTypes` string[], required
    - `status` 'active' | 'disabled', required
    - `secretDisplay` string, required
    - `rotatedAt` string, date-time, nullable, required
    - `disabledAt` string, date-time, nullable, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `400`: Invalid query, request body, JSON, or request identity.
- `401`: Missing or invalid authentication.
- `403`: Authentication lacks the required role or API-key scope.
- `404`: Resource or tenant path is hidden or absent.
- `409`: Lifecycle, idempotency, or concurrent-state conflict.
- `429`: The API-key operation exhausted its fixed-window quota.
- `500`: Internal or upstream failure.

---

[API](https://skmtc.dev/blendduck/apis/blendduck-public-api.md) · [All operations](https://skmtc.dev/blendduck/apis/blendduck-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/blendduck/apis/blendduck-public-api/revisions/3b49354699da?raw)
