Webhooks

Rotate an organization webhook secret

Beta: webhook event coverage and payload schemas may evolve. See /docs/integrations/webhooks for supported events and delivery limits. Rotates a webhook signing secret and returns the replacement once. Requires authenticated authority and enforces current resource policy.

post/api/orgs/{slug}/webhooks/{webhookId}/rotate-secret

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

Response

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

secretstring required
previousExpiresAtstring date-time required

Changes

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