Command Central 10.15 | Using the Command Line Interface | Inventory Commands | sagcc delete inventory components attributes
 
sagcc delete inventory components attributes
Deletes an existing search attribute for a run-time component.
Syntax
*Command Central syntax:
sagcc delete inventory components attributes node_alias componentid          
[attribute]  [options]
*Not supported by Platform Manager.
Arguments and Options
Argument or Option
Description
node_alias
Required. Specifies the alias name of the installation for which you want to delete component information.
You can view a list of installations and their aliases using sagcc list landscape nodes.
componentid
Required. Specifies the ID of the run-time component for which you want to delete a search attribute.
You can determine the IDs for run-time components using sagcc list inventory components.
[attribute]
Optional. The name of the search attribute that you want to delete.
[options]
Optional. The command supports all options supported by Command Central. For a description of the options, see Common Options.
Usage Notes
If you do not specify a search attribute name, the command deletes all existing search attributes for a run-time component.
Examples When Executing on Command Central
*To delete a search attribute with name “group” for the run-time component that has the component ID “OSGI-SPM” and is installed on the installation with the alias name “sag01”:
sagcc delete inventory components attributes sag01          
OSGI-SPM group --password secret
*To delete all search attributes for the run-time component that has the component ID “OSGI-CCE” and is installed on the installation with the alias name “sag01”:
sagcc delete inventory components attributes sag01          
OSGI-CCE  --password secret
Because the {--username | -u} option is not specified, the command uses the default user name. For more information, see username. The command specifies “secret” for the user’s password.