When a new API key is generated the old key expires after 24 hours. You can also opt to delete the key immediately.