DeleteApplication - Amazon Elastic Beanstalk
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

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 Amazon SDKs, see the following: