Back
AnthropicClaude API
You can now set an expiration when you create an API key or an Admin API key in the Claude Console
AI summary
Written by AI from the official notes. Check them for exact details.Users can now set expiration dates for API keys in the Claude Console.
- Set expiration for API keys and Admin API keys
- Choose preset, custom duration, or Never
- Email notification for keys expiring in 7 days
- Existing keys remain unchanged
- Expiration details in the
expires_atfield
Why it matters: Developers and administrators should care to enhance security and manage API key lifetimes effectively.
Full release notes
- You can now set an expiration when you create an API key or an Admin API key in the Claude Console. Choose a preset, a custom duration, or Never. For keys with a lifetime of at least 7 days, Anthropic emails the creator before expiration. Existing keys are unaffected. The Admin API reports each key's expiration in the
expires_atfield. See Authentication.