Clean up api key invalidates.