Command Central 10.11 | Using the Command Line Interface | Stacks and Layers Commands | sagcc delete stacks layers
 
sagcc delete stacks layers
Deletes a layer from a stack.
Syntax
*Command Central syntax:
sagcc delete stacks stackName layers layerName [options]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
stackName
Required. The name of the stack to which the layer that you want to delete belongs.
layerName
Required. The name of the layer that you want to delete.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
*The sagcc delete stacks layers command does not physically delete the layer(s) and does not uninstall the products and fixes in the layer(s). It just removes the layer(s) from the stack.
*You cannot delete the infrastructure layer before you delete all other layers in the stack. If you attempt to delete the infrastructure layer, but the stack contains other layers, the command will return an error message.
Example
To delete a layer with name "layer01" in the stack with alias "stack01":
sagcc delete stacks stack01 layers layer01