Apps

Rotate an app's webhook signing secret

Replaces the app's webhook signing secret in every installation at once and returns it once. Every later attempt, retries included, is signed with it under the new key version. Requires authenticated authority and enforces current resource policy.

post/api/orgs/{slug}/apps/{app}/webhook-secret/rotate

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
appstring required

Response

Response for status 200

secretstring required
keyVersioninteger required

Changes

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