v1
latestOpenAPI 3.0.32026-07-26172157253.6 KBAdmin
Rotate API key
Rotate the project's admin API key. A new key is generated and returned; the old key stays valid for the grace period (default 24 hours, max 168 / 7 days) so in-flight requests finish gracefully. Admin only.
post/api/secrets/api-key/rotate
Request body
Response
API key rotated successfully