--- title: "deletePolicy" slug: "cli-autoscaling-deletepolicy" updated: 2026-09-17T10:11:06Z published: 2026-09-17T10:11:06Z 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 ## 概要 スケーリングポリシーの削除 ## 説明 スケーリングポリシー(policy)を削除します。 ## リクエストパラメータ | パラメータ名 | 必須 | タイプ | 制約事項 | 説明 | | --- | --- | --- | --- | --- | | policyName | Yes | String | Min : 1, Max : 255 | 削除するスケーリングポリシーの名称 | | autoScalingGroupName | Yes | String | Min : 1, Max : 255 | ポリシーを削除するオートスケーリンググループ名を入力します。 | ## レスポンスデータタイプ - CommonResponseタイプ | CommonResponse extends BaseObject | | --- | | private String requestId; | | private String returnCode; | | private String returnMessage; | ## 例示 ### 呼び出し ``` ncloud autoscaling deletePolicy --policyName test-autoscaling-policy --autoScalingGroupName soso02 ``` ### レスポンス ``` { "deletePolicyResponse": { "requestId": "9fefd58a-2ce4-41a6-a83b-ecc00e7db032", "returnCode": "0", "returnMessage": "success" } } ``` ``` 9fefd58a-2ce4-41a6-a83b-ecc00e7db032 0 success ```