I have downloaded and installed the Cloud Foundry CLI tool "cf". However, I am not able to login because I could not set the API endpoint.
What is the API endpoint that I should provide? Where can I find the related information?
If you are using US South Region:
use these commands:
cf api https://api.ng.bluemix.net cf login -u bluemix_id -o myorg
If you are using United Kingdom region:
use these commands:
cf api https://api.eu-gb.bluemix.net cf login -u bluemix_id -o myorg
for Sydney region
cf api https://api.au-syd.bluemix.net cf login -u bluemix_id -o myorg
for Germany region
cf api https://api.eu-de.bluemix.net cf login -u bluemix_id -o myorg
you can know which region, org and space is currently set typing:
cf target
If you are using the 'bluemix' plugin you can use the below command
example: bx api <apiLink>
and bx target
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With