RemoveResourceFromRules
    • PDF

    RemoveResourceFromRules

    • PDF

    Article Summary

    概要

    Event Ruleの監視対象グループで特定の監視対象を削除します。

    リクエスト

    API URL

    URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/monitor/removeResourceFromRules
    Method: POST
    

    リクエストヘッダ

    共通設定に明示されたリクエストヘッダが必要です。

    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    

    リクエストボディ

    項目必須有無タイプ制約事項説明
    prodKeyYString商品のcw_key
    resourceIdYString削除する監視対象id
    ruleGroupIdsYList<String>min=1Event Rule id

    リクエスト例

    POST /cw_fea/real/cw/api/rule/group/monitor/removeResourceFromRules
    Host: cw.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    Payload:
    {
      "prodKey": "xxxxxxxxxxxxxxxxxx",
      "resourceId": "監視対象id",
      "ruleGroupIds": [
        // Event Rule id
        // 複数のEvent Rule idを入力できます。
        "xxxxxxxxxxxxxxxxxx"
      ]
    }
    
    
    

    レスポンス例

    エラーなしに削除が完了した場合、response bodyなしにHTTP code 200がリターンされます。


    この記事は役に立ちましたか?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.