Update a webhook endpoint

Updates delivery URL, description, event subscriptions and optional stack/project scope using JSON merge-patch. Omitted fields are preserved; null clears description or scope, and event_types replaces the list. Switching from a stack to a project requires clearing stack_id in the same request, and conversely. Empty patches write nothing. Status, health, payload version and signing material are unchanged. Optional If-Match uses the ordinary endpoint GET validator. Requires workspace-level API access management permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^whe_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Public id composed of the resource type prefix and its UUID.

Body Params

Request body to partially update a webhook endpoint. Omitted fields stay unchanged; null clears description or scope. Switching scope requires explicitly clearing the previous scope. Event types replace the complete subscription list.

string
length between 1 and 2048

Public HTTPS delivery URL.

string | null

Endpoint description; null clears it.

event_types
array of strings
length ≥ 1

Replacement public event names, or ["*"] for all subscribable events.

event_types
string | null
^stack_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Stack scope in this workspace; null clears it.

string | null
^pr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Project scope in this workspace; null clears it.

Headers
string

Optional precondition. Send the quoted ETag from a GET of this resource. The mutation only runs if a strong tag matches the current representation, checked under the write lock. A comma-separated list is allowed; '*' requires an existing representation. Weak tags never match. Omit this header for an unconditional write. For an action, use the ETag from GET of the target resource, without the action suffix. A stale tag returns 412; read the current state before retrying.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json