Restoring particle.config.json to original state

I changed particle.config.json to point to a local cloud some time ago. It’s not the best way to point to a local cloud, I know, but it’s what I knew how to do at the time.

Now, I would like to revert its original state. Every conversation I see about this on the community points to this message, but it doesn’t actually say anything about this in its current revision.

Any thoughts on this? I don’t know the key or IP address to use, and I am having trouble finding them.

particle config particle as documented here: https://github.com/spark/particle-cli#particle-config

I’m afraid that doesn’t work. It just sets the configuration profile to particle, which was originally the public cloud, but is now my local cloud.

You might have to delete the .particle folder in your home directory, npm uninstall -g particle-cli and npm install -g particle-cli again

or you can edit the json to:

{
  "access_token": "",
  "username": ""
}

and do a particle login