cf login -a https://api.mybluemix.net -o <your org name> -s <your space name>
For some reason, I kept getting the following error:
It seems the Endpoint URL changed, but even then, the above command didn’t work after using the new Endpoint URL. After some troubleshooting I finally managed to log in by doing the following:
- In Terminal, enter cf login
- API Endpoint = https://api.ng.bluemix.net
- Provide Email and Password.
I hope this helpsCheers John