Restoring an API key
You can restore a revoked API key through the API Developer Console. Simply update the expiration date to a future date and the key becomes active again immediately. Deleted keys cannot be restored, so you’ll need to create a new one instead.
How to restore a revoked API key
To restore a revoked key:
- Go to your API keys in the Developer Console
- Click the three dots next to the revoked key
- Select Edit
- Update the expiration date to a future date
The key activates immediately.
Can I restore a deleted API key?
No. Deleted keys are permanently removed and cannot be restored. If you deleted a key by mistake, you'll need to create a new API key.
Why set API key expiration dates?
Setting expiration dates for your API keys and rotating them regularly is a security best practice. It limits the lifespan of each key, reducing risk if a key is ever compromised. When a key approaches expiration, create a new one and update your integration before the old key expires.