

# DeletePlatformVersion
<a name="API_DeletePlatformVersion"></a>

Deletes the specified version of a custom platform.

## Request Parameters
<a name="API_DeletePlatformVersion_RequestParameters"></a>

 For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

 ** PlatformArn **   
The ARN of the version of the custom platform.  
Type: String  
Required: No

## Response Elements
<a name="API_DeletePlatformVersion_ResponseElements"></a>

The following element is returned by the service.

 ** PlatformSummary **   
Detailed information about the version of the custom platform.  
Type: [PlatformSummary](API_PlatformSummary.md) object

## Errors
<a name="API_DeletePlatformVersion_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** ElasticBeanstalkService **   
A generic service exception has occurred.    
 ** message **   
The exception error message.
HTTP Status Code: 400

 ** InsufficientPrivileges **   
The specified account does not have sufficient privileges for one or more Amazon services.  
HTTP Status Code: 403

 ** 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

 ** PlatformVersionStillReferenced **   
You cannot delete the platform version because there are still environments running on it.  
HTTP Status Code: 400

## See Also
<a name="API_DeletePlatformVersion_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 
+  [Amazon SDK for Python](https://docs.amazonaws.cn/goto/boto3/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/elasticbeanstalk-2010-12-01/DeletePlatformVersion) 