psm stack delete-template
Use this command to delete a Stack template.
Syntax
psm stack delete-template -n|--template-name templateName
[-v|--version templateVersion]
[-of|--output-format json|html|short]
[-wc|--wait-until-complete true|false]
Parameters
All parameters are required unless otherwise noted.
Parameter | Description |
---|---|
-n|--template-name templateName |
Name of the Stack template. |
-v|--version templateVersion |
(Optional) The specific version of the Stack template to delete. If not provided, the latest version is deleted. |
-of|--output-format json|html|short |
(Optional) Desired output format.
Accepted values: The default output format is the one you specified when using the |
|
(Optional) A boolean value that, when set to
true , makes the command behave synchronously; that is, it does not return until the submitted job is complete. The following message is displayed until the job is complete: Default: false |
Example
$ psm stack delete-template -n TestTemplate -of json
{
"status":"Template [TestTemplate] deleted successfully"
}