Rotate a Token's secret
User Management
Rotate a Token's secret
Rotate a key’s secret in place: same key (name, id, budget, guardrail),
brand-new sk-eden value. The old value stops working immediately; the new
one is returned exactly once. Operates on real Token rows only — a legacy
primary/sandbox key (a JWT in a User column) is regenerated via
MigrateLegacyKey instead. Mutating, so the session access token is required —
no API key can rotate itself or others.
POST
Rotate a Token's secret
Path Parameters
Response
200
No response body