---
title: "deletePolicy"
slug: "cli-autoscaling-deletepolicy"
updated: 2026-04-23T08:57:04Z
published: 2026-04-23T08:58:56Z
canonical: "cli.ncloud-docs.com/cli-autoscaling-deletepolicy"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# deletePolicy

## 개요<a name="개요"></a>


스케일링 정책 삭제


## 설명<a name="설명"></a>


스케일링 정책(policy)을 삭제합니다.


## 요청 파라미터<a name="요청파라미터"></a>


| 파라미터 명          | 필수   여부 | 타입   | 제약사항           | 설명                                             |
| -------------------- | ----------- | ------ | ------------------ | ------------------------------------------------ |
| policyName           | Yes         | String | Min : 1, Max : 255 | 삭제할 스케일링 정책 이름                        |
| autoScalingGroupName | Yes         | String | Min : 1, Max : 255 | 정책을 삭제할 오토 스케일링 그룹명 입력 |



## 응답 데이터 타입<a name="응답데이터타입"></a>


- CommonResponse 타입

| CommonResponse extends BaseObject                                                                 |
| ------------------------------------------------------------------------------------------------- |
| private String requestId;                                                                         |
| private String returnCode;                                                                        |
| private String returnMessage;                                                                     |



## 예시<a name="예시"></a>

### 호출<a name="호출"></a>

```
ncloud autoscaling deletePolicy --policyName test-autoscaling-policy --autoScalingGroupName soso02
```

### 응답<a name="응답"></a>

 
```json
{
  "deletePolicyResponse": {
    "requestId": "9fefd58a-2ce4-41a6-a83b-ecc00e7db032",
    "returnCode": "0",
    "returnMessage": "success"
  }
}
```
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<deletePolicyResponse>
  <requestId>9fefd58a-2ce4-41a6-a83b-ecc00e7db032</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
</deletePolicyResponse>
```
