I am trying to login to bluemix account through cloud foundry cli using command CF login and I am getting output as 'API endpoints > ' I tried CF API then I got message as 'No API endpoint set . Use 'cf api' to set an endpoint .' what is the API endpoint ?
The API endpoint is the server your CLI program talks to to execute the commands and obtain information. For IBM Bluemix the API endpoints are documented here.
You could do cf api api.eu-de.bluemix.net
to set the endpoint for Bluemix in Frankfurt, Germany. Or cf api api.ng.bluemix.net
to configure Dallas, USA, as endpoint. See the above linked documentation for the full list of Bluemix Public. Bluemix Dedicated and Bluemix Local have other API endpoints.
You can also set the api endpoint and login using just one command using, e.g. for the Dallas, USA, endpoint:
cf login -a https://api.ng.bluemix.net
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