Replace a trigger's secret.
The answer carries the new secret once; the old one stops working at once.
POST/api/v1/automations/{id}/rotate-secret
Scopeconfig
Update the sender (for GitHub: the webhook's secret). When an API key calls it, the timeline records who did what and the outcome. No query parameters, and no body.
Path parameters.
idstringrequired
The automation's id.
Headers.
Idempotency-Keystring
Makes a retry safe: the same key with the same request returns the first answer and does nothing else.
Response.
200 OK: a JSON object. The example has placeholder values.