Use the SAP BTP command line interface (btp CLI) to manage operations with global accounts, directories, and subaccounts.
Task |
Run the command... |
Command help |
---|---|---|
Get details about a global account, and the account structure (directories and subaccounts) of the global account. |
|
|
Update the display name and/or description of a global account. |
|
For more information, see Global Accounts
Directories allow you to organize and manage your subaccounts according to your technical and business needs.
By default, all commands are executed in the global account you're logged in to. To change the target to a directory, use
btp target -dir <my-directory-id>
. See Set a Target for Subsequent Commands with btp target.
Task |
Run the command... |
Command help |
---|---|---|
Get details about a directory and list the subaccounts and subdirectories in the directory |
|
|
Create a directory |
|
|
Update a directory |
|
|
Delete a directory |
|
|
Change the set of enabled features (user and entitlement management) for a directory |
|
|
List the user-defined labels assigned to a directory |
|
|
List the custom properties assigned to a directory
|
|
For more information, see Directories.
By default, all commands are executed in the global account you're logged in to. To change the target to a subaccount, use
btp target -sa <my-subaccount-id>
. See Set a Target for Subsequent Commands with btp target.
Task |
Run the command... |
Command help |
---|---|---|
List all subaccounts in a global account |
|
|
Get details about a subaccount |
|
|
Create a subaccount |
|
|
Update a subaccount |
|
|
Delete a subaccount |
|
|
Move a subaccount |
|
|
List the user-defined labels assigned to a subaccount |
|
|
List the custom properties assigned to a subaccount
|
|
|
Get all available regions for global account |
|
To delete a Neo subaccount, you need to use instead the Neo console or the cockpit.
For more information, see Subaccounts
Related Information
Setting Entitlements Using the btp CLI
Working with Environments Using the btp CLI
Working with Multitenant Applications Using the btp CLI
Working with External Resource Providers Using the btp CLI
Managing Trust from SAP BTP to an SAP Cloud Identity Services Tenant
Managing Users and Their Authorizations Using the btp CLI
Managing Signing Keys for Access Tokens
Managing API Credentials for Calling REST APIs of SAP Authorization and Trust Management Service
Working with Resources of the SAP Service Manager Using the btp CLI