## 6.1.3.5.11  Working with Resources of the SAP Service Manager Using the btp CLI
Use the SAP BTP command line interface to perform various operations related to your platforms, attached service brokers, service instances, and service bindings.
You can also get information about the service plans and service offerings associated with your subaccount.
For more information about the SAP Service Manager, see SAP Service Manager.
<!-- image -->
All of these commands are executed in subaccounts. If you know you are working in a specific subaccount, we recommend using the btp target command to set the target to this subaccount. Then you won't have
to provide the subaccount ID with every command call. See Set a Target for Subsequent Commands with btp target [page 2425].
For detailed descriptions of all SAP Service Manager CLI commands, see SAP Service Manager Commands for SAP BTP command line interface .
## Managing Platforms
| Task                                                                         | Run the command ...              | Command help                       |
|------------------------------------------------------------------------------|----------------------------------|------------------------------------|
| List all registered platforms in the current subaccount                      | btp list services/platform       | btp list serv- ices/platform       |
| Get details about a specific plat- form registered in the current subaccount | btp get services/platform        | btp get serv- ices/platform        |
| Register a new platform in the current subaccount                            | btp register services/platform   | btp register services/plat- form   |
| Update an existing platform reg- istered in the current subaccount           | btp update services/platform     | btp update services/plat- form     |
| Unregister an existing platform in the current subaccount                    | btp unregister services/platform | btp unregister services/plat- form |
## Managing Service Brokers
| Task                                                            | Run the command ...            | Command help                      |
|-----------------------------------------------------------------|--------------------------------|-----------------------------------|
| List all registered brokers in the current subaccount           | btp list services/broker       | btp list serv- ices/broker        |
| Get a specific service broker in the current subaccount         | btp get services/broker        | btp get serv- ices/broker         |
| Register a new service broker in the current subaccount         | btp register services/broker   | btp register services/ broker     |
| Update an existing service broker in the current subaccount     | btp update services/broker     | btp update services/ broker       |
| Unregister an existing service broker in the current subaccount | btp unregister services/broker | btp unregi- ster services/ broker |
## Managing Service Instances
| Task                                                                                    | Run the command ...           | Command help                  |
|-----------------------------------------------------------------------------------------|-------------------------------|-------------------------------|
| List all service instances asso- ciated with the current subac- count.                  | btp list services/instance    | btp list serv- ices/instance  |
| Get details about a specific serv- ice instance associated with the current subaccount. | btp get services/instance     | btp get serv- ices/instance   |
| Create a new service instance of the service you want to consume.                       | btp create services/instance  | btp create services/ instance |
| Delete an existing service in- stance.                                                  | btp delete services/instance  | btp delete services/ instance |
| Share a service instance                                                                | btp share services/instance   |                               |
| Unshare a service instance                                                              | btp unshare services/instance |                               |
##  Note
The optional --show-parameters available for btp get services/instance and btp get services/binding commands returns parameters only if the service offering associated with the instance or binding for which to view parameters has the instances\_retrievable or bindings\_retrievable parameter values respectively set to true .
##  Tip
To check associated service offering's instances\_retrievable value, run the following commands:
1. btp get services/instance and find the plan\_id for the instance. Use the plan ID in
2. btp get services/plan and check the offering\_id for the instance. Use the offering ID in
3. btp get services/offering and see whether the instances\_retrievable parameter's value is set to true.
Start with btp get services/binding and then use the same commands for plan and offering details if you're checking the bindings\_retrievable value.
## Managing Service Bindings
| Task                                                                                   | Run the command ...         | Command help                  |
|----------------------------------------------------------------------------------------|-----------------------------|-------------------------------|
| List all service bindings asso- ciated with the current subac- count.                  | btp list services/binding   | btp list serv- ices/binding   |
| Get details about a specific serv- ice binding associated with the current subaccount. | btp get services/binding    | btp get serv- ices/binding    |
| Create a new binding between an existing service instance and an application.          | btp create services/binding | btp create services/bind- ing |
| Delete an existing binding be- tween a service instance and an application.            | btp delete services/binding | btp delete services/bind- ing |
## Viewing Service Plans
| Task                                                                                                                                          | Run the command ...    | Command help             |
|-----------------------------------------------------------------------------------------------------------------------------------------------|------------------------|--------------------------|
| List all service plans of services available for consumption that are associated with your current subaccount.                                | btp list services/plan | btp list serv- ices/plan |
| Get details about a specific serv- ice plan of a service that is avail- able for consumption and asso- ciated with your current subac- count. | btp get services/plan  | btp get serv- ices/plan  |
## Viewing Service Offerings
| Task                                                                             | Run the command ...        | Command help                 |
|----------------------------------------------------------------------------------|----------------------------|------------------------------|
| List all service offerings associ- ated with your current subac- count.          | btp list services/offering | btp list serv- ices/offering |
| Get details about a specific serv- ice offering associated with your subaccount. | btp get services/offering  | btp get serv- ices/offering  |
## Related Information
Working with Global Accounts, Directories, and Subaccounts Using the btp CLI [page 2434]
Setting Entitlements Using the btp CLI [page 2438]
Working with Environments Using the btp CLI [page 2439]
Working with Multitenant Applications Using the btp CLI [page 2440]
Working with External Resource Providers Using the btp CLI [page 2441]
Managing Trust from SAP BTP to an SAP Cloud Identity Services Tenant [page 2442]
Managing Users and Their Authorizations Using the btp CLI [page 2445]
Managing Signing Keys for Access Tokens [page 2447]
Managing Security Settings [page 2448]
Managing API Credentials for Calling REST APIs of SAP Authorization and Trust Management Service [page 2449]
btp CLI Command Reference