--- title: "executePolicy" slug: "compute-autoscaling-executepolicy" updated: 2026-09-17T09:57:45Z published: 2026-09-17T09:57:45Z canonical: "api.ncloud-docs.com/compute-autoscaling-executepolicy" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # executePolicy ## 概要 指定された scalingポリシー(policy)を実行します。 ## リクエスト ### リクエストパラメータ | パラメータ名 | 必須の有無 | タイプ | 制限事項 | 説明 | | --- | --- | --- | --- | --- | | policyName | Yes | String | 最小: 1, 最大: 255 | 実行対象のスケーリングポリシー名 | | autoScalingGroupName | Yes | String | 最小: 1, 最大: 255 | ポリシーを実行するオートスケーリンググループ名を入力 | | honorCooldown | No | Boolean | - | - Cooldown時間を遵守するかどうか この apiを呼びすときに scaling action中であったか、cooldown時間であった場合、それを遵守するかどうか決める `default : false` | | responseFormatType | No | String | | - レスポンス結果の形式タイプ オプション: xml \| json デフォルト: xml | ## レスポンス ### レスポンスボディ - [CommonResponse](/docs/ja/common-apidatatype-commonresponse) ## 例 ### リクエスト例 ``` {AUTOSCALILNG_API_URL}/executePolicy ?autoScalingGroupName=asg-0602b &honorCooldown=true &policyName=p-0602 ``` ### レスポンス例 ``` 0c811c22-cdd3-47e5-8d8b-434071de2e46 0 success ``` ## エラーコード 以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。共通して発生するエラーについての詳細説明は、[NAVERクラウドプラットフォーム API](/docs/ja/common-ncpapi-index)をご参照ください。 | HTTP Response Code | リターンコード | リターンメッセージ | | --- | --- | --- | | 400 | 50120 | An invalid or out-of-range value was supplied for the input parameter. |