Menu
AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)

eb appversion

Description

Deletes a version of your Elastic Beanstalk application.

Syntax

eb appversion

eb appversion [-d | --delete] version-label

Options

Name

Description

-d version-label

or

--delete version-label

Delete version version-label of the application.

Common options

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.

Press d to delete an application version, press l to manage the lifecycle policy for your application, or press q to quit without making any changes.

Note

If the version is deployed to any environment, you cannot delete that version.

Output

The command with the --delete version-label option displays a message confirming that the application version was deleted.

Examples

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.