Overview
Launch configurations must not be in use by any Auto Scaling Group when they are deleted.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
launchConfigurationName | Yes | String | Min: 1, Max: 255 | Enter the launch configuration name to delete. |
responseFormatType | No | String | - Format type of the response result Options: xml | json Default: xml |
Response
Response body
Examples
Request example
{AUTOSCALILNG_API_URL}/deleteAutoScalingLaunchConfiguration
?launchConfigurationName=lc-0228
Response example
<deleteAutoScalingLaunchConfigurationResponse>
<requestId>81e1f723-550c-444b-bc39-467f61a2911a</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</deleteAutoScalingLaunchConfigurationResponse>
Errors
Errors that may occur while using this action are listed below. For more information about common errors, see NAVER Cloud Platform API.
HTTP Response Code | Return code | Return message |
---|---|---|
400 | 50150 | This is returned when you cannot delete a launch configuration, scaling policy, or auto scaling group because it is being used. |