Webhooks
Rotate a webhook signing secret
Changed onRotates the endpoint's signing secret. The previous secret keeps signing for a 24h grace window so consumers can update without missing deliveries. Returns the new secret ONCE. Requires the webhooks.manage permission; league-scoped endpoints additionally require current league ADMIN membership and the webhooks feature on the league owner's plan.
post/webhooks/{id}/rotate-secret
Request
- Base URLhttps://teambattles.gg/api/v1
- URLhttps://teambattles.gg/api/v1/webhooks/{id}/rotate-secret
- AuthHTTP bearer
Path parameters
idstring required
Webhook endpoint id.
Response
The new one-time signing secret.
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking