deleteLaunchConfiguration

Prev Next

Available in VPC

Delete a Launch Configuration.

Note

Launch configurations that have been set up and in use for an Auto Scaling Group can't be deleted.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET | POST /vautoscaling/v2/deleteLaunchConfiguration
Note

This guide is based on the GET method. POST method call tests can be performed through Swagger in the API Gateway service of the NAVER Cloud Platform console.

Request headers

For information about the headers common to all Auto Scaling APIs, see Auto Scaling request headers.

Request query parameters

You can use the following query parameters with your request:

Field Type Required Description
regionCode String Optional Region code
launchConfigurationNo String Required Launch configuration number
responseFormatType String Optional Format of the response data
  • xml (default) | json

Request example

The request example is as follows:

curl --location --request GET 'https://ncloud.apigw.ntruss.com/vautoscaling/v2/deleteLaunchConfiguration
?regionCode=KR
&launchConfigurationNo=5994
&responseFormatType=json' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
deleteLaunchConfigurationResponse Object - Response result
deleteLaunchConfigurationResponse.requestId String - ID for the request
  • UUID format
deleteLaunchConfigurationResponse.returnCode String - Response code
deleteLaunchConfigurationResponse.returnMessage String - Response message

Response status codes

For response status codes common to all Auto Scaling APIs, see Auto Scaling response status codes.

Response example

The response example is as follows:

{
    "deleteLaunchConfigurationResponse": {
        "totalRows": 1,
        "launchConfigurationList": [
            {
                "regionCode": "KR",
                "launchConfigurationNo": "5994",
                "launchConfigurationName": "launchconfigtest",
                "serverImageProductCode": "SW.VSVR.OS.LNX64.UBNTU.SVR24.G003",
                "serverProductCode": "SVR.VSVR.CPU.C002.M004.G003",
                "loginKeyName": "ncp-loginkey",
                "createDate": "2025-06-12T14:15:45+0900",
                "launchConfigurationStatus": {
                    "code": "DELTD",
                    "codeName": "Deleted"
                },
                "initScriptNo": "",
                "isEncryptedVolume": false,
                "serverImageNo": "100614134",
                "osInformation": "ubuntu-24.04",
                "serverSpecNo": "1916",
                "serverSpecCode": "ci2-g3",
                "serverSpecDescription": "vCPU 2EA, Memory 4GB"
            }
        ],
        "requestId": "6b0a2e5b-****-****-****-6dff87df0dd4",
        "returnCode": "0",
        "returnMessage": "success"
    }
}