Deletes a version of your Elastic Beanstalk application.
eb appversion [-d | --delete]
|Delete version |
Using the command interactively
The command without any arguments displays the versions of the application, from most recent to oldest. See the Examples section for examples of what the screen looks like. Note the status line at the bottom of the display. It displays context-sensitive information that you can use to guide you.
d to delete an application version, press
l to manage
the lifecycle policy for your application, or press
q to quit without making
If the version is deployed to any environment, you cannot delete that version.
The command with the
version-label option displays a message confirming that the
application version was deleted.
The following example shows the interactive window for an application with no deployments.
The following example shows the interactive window for an application with the fourth version, with version label Sample Application, deployed.