Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

DeleteApplication - AWS Elastic Beanstalk

DeleteApplication

Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.

Note

You cannot delete an application that has a running environment.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

ApplicationName

The name of the application to delete.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Required: Yes

TerminateEnvByForce

When set to true, running environments will be terminated before deleting the application.

Type: Boolean

Required: No

Errors

For information about the errors that are common to all actions, see Common Errors.

OperationInProgressFailure

Unable to perform the specified operation because another operation that effects an element in this activity is already in progress.

HTTP Status Code: 400

Examples

Example

This example illustrates one usage of DeleteApplication.

Sample Request

https://elasticbeanstalk.us-west-2.amazonaws.com/?ApplicationName=SampleApp &Operation=DeleteApplication &AuthParams

Sample Response

<DeleteApplicationResponse xmlns="https://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"> <ResponseMetadata> <RequestId>1f155abd-f1d7-11df-8a78-9f77047e0d0c</RequestId> </ResponseMetadata> </DeleteApplicationResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.