Cloud Foundry CLI uses:
cf api to set or view the target Cloud Foundry API endpoint before logging in.
Other commands:
cf login: authenticate against the already-set endpoint.
cf target: view/set org and space.
cf endpoint: not a valid command.
[References:, , Cloud Foundry CLI Command Reference, , SAP BTP Cloud Foundry Basics, ]
Submit