copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2021-04-22 |
enterprise, enterprise settings, manage enterprise, view enterprise, rename enterprise |
account |
{:shortdesc: .shortdesc} {:codeblock: .codeblock} {:important: .important} {:tip: .tip} {:note: .note} {:ui: .ph data-hd-interface='ui'} {:cli: .ph data-hd-interface='cli'} {:api: .ph data-hd-interface='api'}
{: #enterprise-settings}
From the dashboard of your {{site.data.keyword.Bluemix}} enterprise, you can view enterprise details, take common actions such as adding accounts and inviting users, and view billing information. You can also rename your enterprise on the dashboard or by using the CLI or API. {:shortdesc}
To manage enterprise settings, you need the Administrator or Editor role on the Enterprise service in the enterprise account. {: tip}
{: #enterprise-manage} {: ui}
To view your enterprise dashboard, go to Manage > Enterprise in the {{site.data.keyword.Bluemix_notm}} console. The dashboard provides an overview of accounts, users, and subscription credit in your enterprise. The dashboard has quick links so that you can perform the following common actions:
- Add new or existing accounts to your enterprise
- Invite users to the enterprise account
- View and manage subscription credit
Also, you can rename your enterprise by clicking Rename in the Enterprise details section.
{: #enterprise-manage-cli} {: cli}
-
View enterprise information such as the name, domain, owner, and creation and update dates.
ibmcloud enterprise show
{: codeblock}
-
Rename the enterprise by specifying the new name on the
-n
option in the following command.ibmcloud enterprise update -n NEW_NAME
{:codeblock}
{: #enterprise-manage-api} {: api}
You can programmatically update an enterprise by calling the Enterprise Management API as shown in the following sample request. You can update the enterprise name by passing the new values on the API call. For detailed information about the API, see the Enterprise Management API documentation{: external}.
curl -X PATCH "https://enterprise.cloud.ibm.com/v1/account-groups/$ACCOUNT_GROUP_ID"
-H "Authorization: Bearer <IAM_Token>"
-H 'Content-Type: application/json'
-d '{
"name": "Updated Example Account Group",
}'
{: codeblock} {: curl}
UpdateAccountGroupOptions updateAccountGroupOptions = new UpdateAccountGroupOptions.Builder()
.accountGroupId(accountGroupId)
.name("Updated Example Account Group")
.build();
Response<Void> response = service.updateAccountGroup(updateAccountGroupOptions).execute();
{: codeblock} {: java}
const params = {
accountGroupId: accountGroupId,
name: 'Updated Example Account Group',
};
enterpriseManagementService.updateAccountGroup(params)
.then(res => {
done();
})
.catch(err => {
console.warn(err)
});
{: codeblock} {: javascript}
response = enterprise_management_service.update_account_group(
account_group_id=account_group_id,
name='Updated Example Account Group',
)
{: codeblock} {: python}
uupdateAccountGroupOptions := enterpriseManagementService.NewUpdateAccountGroupOptions(
accountGroupID,
)
updateAccountGroupOptions.SetName("Updated Example Account Group")
response, err := enterpriseManagementService.UpdateAccountGroup(updateAccountGroupOptions)
if err != nil {
panic(err)
}
{: codeblock} {: go}