| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Deletes the specified version from the specified application.
Note
You cannot delete an application version that is associated with a running environment.
elastic-beanstalk-delete-application-version
-a [
name] -l [label] -d
| Name | Description | Required |
|---|---|---|
|
|
The name of the application to delete releases from. Type: String Default: None |
Yes |
|
|
The label of the version to delete. Type: String Default: None Length Constraints: Minimum value of 1. Maximum value of 100. |
Yes |
|
|
Indicates whether to delete the associated source bundle from Amazon S3.
Type: Boolean Valid Values: Default: |
No |
The command returns the string Application version
deleted.
This example shows how to delete an application version.
PROMPT> elastic-beanstalk-delete-application-version -a MySampleApp -l MyAppVersionThis example shows how to delete an application version.
PROMPT> elastic-beanstalk-delete-application-version -a MySampleApp -l MyAppVersion -d