Webhooks

Update an organization webhook

Beta: webhook event coverage and payload schemas may evolve. See /docs/integrations/webhooks for supported events and delivery limits. Updates an organization webhook using optimistic concurrency. Requires authenticated authority and enforces current resource policy.

patch/api/orgs/{slug}/webhooks/{webhookId}

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token

Path parameters

slugstring required
webhookIdstring required

Request body

expectedVersioninteger required
urlstring uri
eventsstring[]

Distinct subscriptions. Local issue and pull events listed in /docs/integrations/webhooks are delivered by this version; * includes supported events. Other syntactically valid names are retained for compatibility but produce no deliveries.

activeboolean

Response

Beta: webhook event coverage and payload schemas may evolve. See /docs/integrations/webhooks for supported events and delivery limits.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.