Skip to main content
Update a webhook target. Omitted fields are left unchanged. Required scope: admin
Clear the repository filter and make the target organization-wide:

Options

string
required
Webhook target ID.
string | undefined
Organization override.
string | undefined
New delivery URL.
string | null | undefined
New human-readable name. Pass null to clear it.
string[] | undefined
Replacement event subscription list.
string[] | null | undefined
Replacement repository filter. Pass null to clear the filter and receive organization-wide events.

Response

string
Webhook target ID.
string | null
Webhook target name, or null when unnamed.
string
Delivery URL.
string[]
Event names delivered to this target.
string[] | null
Repository allowlist, or null when the target receives events for all repositories.
string
Creation time.
string
Last update time.