--- title: "RemoveResourceFromRules" slug: "management-cloudinsight-removeresourcefromrules" tags: ["Cloud Insight"] updated: 2026-09-17T09:57:56Z published: 2026-09-17T09:57:56Z canonical: "api.ncloud-docs.com/management-cloudinsight-removeresourcefromrules" --- > ## 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. # RemoveResourceFromRules Classic/VPC環境で利用できます。 Event Ruleの監視対象グループから特定の監視対象を削除します。 ## リクエスト リクエスト形式を説明します。リクエスト形式は次の通りです。 | メソッド | URI | | --- | --- | | POST | /cw_fea/real/cw/api/rule/group/monitor/removeResourceFromRules | ### リクエストヘッダ Cloud Insight APIで共通して使用されるヘッダの詳細は、[Cloud Insightのリクエストヘッダ](/docs/ja/management-cloudinsight#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)をご参照ください。 ### リクエストボディ リクエストボディの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `prodKey` | String | Required | 商品キー(cw_key) - [Cloud Insight指標](/docs/ja/management-cloudinsight-productinfo)を参照 | | `resourceId` | String | Required | 監視対象 ID - [GetAllMonitorGrp](/docs/ja/management-cloudinsight-getallmonitorgrp)を参照 | | `ruleGroupIds` | Array | Required | Event Rule ID - [GetRuleGroupList](/docs/ja/management-cloudinsight-getrulegrouplist)を参照 - 2つ以上削除時はコンマ「,」で区切る | ### リクエスト例 リクエストのサンプルコードは次の通りです。 ``` curl --location --request POST 'https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/monitor/removeResourceFromRules' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --header 'Content-Type: application/json' \ --data '{ "prodKey": "**********", "resourceId": "**********", "ruleGroupIds": [ "**********" ] }' ``` ## レスポンス レスポンス形式を説明します。 ### レスポンスステータスコード NAVERクラウドプラットフォームで共通して使用されるレスポンスステータスコードの詳細は、[Cloud Insight APIのレスポンスステータスコード](/docs/ja/management-cloudinsight#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)をご参照ください。 ### レスポンス例 レスポンス成功時、`200 OK`と表示され、監視対象グループから特定の監視対象が削除されます。