ibmcloud-target
sets or displays the targeted account, region, resource group, and Cloud
TLDR
Show current target
$ ibmcloud target
Set target region$ ibmcloud target -r [us-south]
Set target resource group$ ibmcloud target -g [resource-group]
Set Cloud Foundry org and space$ ibmcloud target -o [org] -s [space]
Set target account$ ibmcloud target -c [account-id]
Unset resource group$ ibmcloud target --unset-resource-group
SYNOPSIS
ibmcloud target [options]
DESCRIPTION
ibmcloud target sets or displays the targeted account, region, resource group, and Cloud Foundry org/space. Subsequent CLI commands operate within the targeted context. Run without options to display current target.
PARAMETERS
-r region
Target region.-g group
Target resource group.-c account
Target account ID.-o org
Target Cloud Foundry organization.-s space
Target Cloud Foundry space.--unset-resource-group
Clear resource group.
SEE ALSO
ibmcloud(1), ibmcloud-login(1)
