Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mesa.dev/llms.txt

Use this file to discover all available pages before exploring further.

Update fields on a webhook target. Omitted fields are left unchanged.
target = await mesa.webhook_targets.update(
    webhook_target_id="wh_123",
    url="https://example.com/mesa/new-webhook",
    events=["push"],
)

Options

webhook_target_id
str
required
Webhook target ID.
org
str | None
Organization override.
url
str | None
New delivery URL.
name
str | None
New target name.
events
list[str] | None
Replacement event list.
repo_ids
list[str] | None
Replacement repository ID filter. The high-level method treats None as omitted; use clear_repo_filter() to send an explicit null.

Response

Returns the updated webhook target object with id, name, url, events, repo_ids, created_at, and updated_at.

Required scope

admin