Skip to main content
Remove the per-repository filter from a webhook target. Required scope: admin
target = await mesa.webhook_targets.clear_repo_filter(
    webhook_target_id="wh_123",
)
print(target.repo_ids)  # None

Options

webhook_target_id
str
required
Webhook target ID.
org
str | None
Organization override.

Response

id
str
Webhook target ID.
name
str | None
Webhook target name, or null when unnamed.
url
str
Delivery URL.
events
list[str]
Event names delivered to this target.
repo_ids
list[str] | None
Repository allowlist, or null when the target receives events for all repositories.
created_at
datetime
Creation time.
updated_at
datetime
Last update time.