About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Managing enterprises, account groups, and accounts (ibmcloud enterprise)
Use the following commands from the IBM Cloud® Command Line Interface to manage enterprise, account groups, and accounts.
ibmcloud enterprise create
Create an enterprise.
ibmcloud enterprise create NAME [-d, --domain DOMAIN_NAME] [--primary-contact-id PRIMARY_CONTACT_USER_ID]
Command options
- NAME (required)
- Enterprise name.
- -d, --domain DOMAIN_NAME (optional)
- Domain name.
- --primary-contact-id PRIMARY_CONTACT_USER_ID (optional)
- Primary contact user ID of the enterprise.
ibmcloud enterprise update
Update enterprise information.
ibmcloud enterprise update (-n, --name NEW_NAME) [-f, --force]
Command options
- -f, --force (optional)
- Update without confirmation.
- -n, --name NEW_NAME (required)
- New name of the enterprise.
ibmcloud enterprise show
Display details of the enterprise.
ibmcloud enterprise show
ibmcloud enterprise account-group-create
Create an account group
ibmcloud enterprise account-group-create NAME [--parent-account-group ACCOUNT_GROUP_NAME] [--primary-contact-id PRIMARY_CONTACT_USER_ID]
Command options
- NAME (required)
- Account group name.
- --parent-account-group ACCOUNT_GROUP_NAME (optional)
- Name of the parent account group. If omitted, the parent would be the current enterprise.
- --primary-contact-id PRIMARY_CONTACT_USER_ID (optional)
- Primary contact user ID of the account group.
ibmcloud enterprise account-group-update
Update an account group.
ibmcloud enterprise account-group-update (-n, --name NAME | --id ID) (--new-name NEW_NAME)
Command options
- --id ID (required)
- ID of target account group. This option is exclusive with
-n, --name
. - -n, --name NAME (required)
- Name of target account group. This option is exclusive with
--id
. - --new-name NEW_NAME (required)
- New name of target account group.
ibmcloud enterprise account-group
Display details of account group.
ibmcloud enterprise account-group (-n, --name NAME | --id ID)
Command options
- --id ID (required)
- ID of the account group. This option is exclusive with
-n, --name
. - -n, --name NAME (required)
- Name of the account group. This option is exclusive with
--id
.
ibmcloud enterprise account-groups
List account groups.
ibmcloud enterprise account-groups [--parent-account-group ACCOUNT_GROUP_NAME | --parent-account-group-id ACCOUNT_GROUP_ID] [--recursive]
Command options
- --parent-account-group ACCOUNT_GROUP_NAME (optional)
- Name of the parent account group. This option is exclusive with
--parent-account-group-id
. - --parent-account-group-id ACCOUNT_GROUP_ID (optional)
- ID of the parent account group. This option is exclusive with
--parent-account-group
. - --recursive (optional)
- Show descendant account groups.
ibmcloud enterprise account-create
Create an account.
ibmcloud enterprise account-create NAME [--parent-account-group ACCOUNT_GROUP_NAME] [--owner USER_ID]
Command options
- NAME (required)
- Account group name.
- --owner USER_ID (optional)
- User ID of the account group.
- --parent-account-group ACCOUNT_GROUP_NAME (optional).
- Name of the parent account group. If omitted, the parent would be the current enterprise.
ibmcloud enterprise account-delete
Delete an account.
ibmcloud enterprise account-delete (-n, --name NAME | --id ID) [-q, --quiet]
Command options
- --id ID (required)
- ID of the account group. This option is exclusive with
-n, --name
. - -n, --name NAME
- Name of the account group. This option is exclusive with
--id
. - -q, --quiet
- Suppress verbose output.
ibmcloud enterprise account-move
Move an account under different parent.
ibmcloud enterprise account-move (-n, --name NAME | --id ID) (--parent-account-group ACCOUNT_GROUP_NAME | --parent-account-group-id ACCOUNT_GROUP_ID | --parent-enterprise)
Command options
- --id ID (required)
- ID of target account. This option is exclusive with
-n, --name
. - -n, --name NAME (required)
- Name of target account. This option is exclusive with
--id
. - --parent-account-group ACCOUNT_GROUP_NAME (required)
- Name of parent account group. This option is exclusive with
--parent-account-group-id
and--parent-enterprise
. - --parent-account-group-id ACCOUNT_GROUP_ID (required)
- ID of parent account group. This option is exclusive with
--parent-account-group
and--parent-enterprise
. - --parent-enterprise (required)
- Set the enterprise as the parent. This option is exclusive with
--parent-account-group
and--parent-account-group-id
.
ibmcloud enterprise account-show
Display details of an account.
ibmcloud enterprise account-show (-n, --name NAME | --id ID)
Command options
- --id ID (required)
- ID of the account. This option is exclusive with
-n, --name
. - -n, --name NAME (required)
- Name of the account. This option is exclusive with
--id
.
ibmcloud enterprise accounts
List accounts.
ibmcloud enterprise accounts [--parent-account-group ACCOUNT_GROUP_NAME | --parent-account-group-id ACCOUNT_GROUP_ID] [--recursive]
Command options
- --parent-account-group ACCOUNT_GROUP_NAME (optional)
- Name of the parent account group. This option is exclusive with
--parent-account-group-id
. - --parent-account-group-id ACCOUNT_GROUP_ID (optional)
- ID of the parent account group. This option is exclusive with
--parent-account-group
. - --recursive (optional)
- Show descendant accounts.
ibmcloud enterprise account-import
Import a stand-alone account.
ibmcloud enterprise account-import (--account-id ID) [--parent-account-group ACCOUNT_GROUP_NAME | --parent-account-group-id ACCOUNT_GROUP_ID]
Command options
- --account-id
- ID of source account.
- --parent-account-group PARENT_ACCOUNT_GROUP (optional)
- Name of the parent account group. This option is exclusive with
--parent-account-group-id
. - --parent-account-group-id PARENT_ACCOUNT_GROUP_ID (optional)
- ID of the parent account group. This option is exclusive with
--parent-account-group
.