Overview
Generates a new API key for your platform. The old key is immediately invalidated.Authentication
Requires Platform API Key in theX-API-Key header (the old key you’re replacing).
Request
Response
Always
true on successful regenerationYour new API key. Save this immediately - it will never be shown again.
Important reminder to save the key
When to Regenerate
Security Breach
If your API key is exposed (committed to git, leaked in logs, etc.):Regular Rotation
Rotate keys every 90 days as a security best practice:Employee Offboarding
When team members leave who had access to the key:Zero-Downtime Rotation
For critical production systems, use this pattern:Best Practices
Save Immediately
Update All Services
Test Before Deploying
Keep Audit Trail
Error Responses
Invalid API Key
Rate Limit
Security Considerations
Immediate Invalidation
The old key stops working immediately upon regeneration:No Grace Period
Unlike some services, there is no grace period where both keys work. Plan your rotation accordingly.Related Endpoints
Platform Dashboard
Verify new key works
Platform Settings
Configure platform settings