CreateMonitorGrp
    • PDF

    CreateMonitorGrp

    • PDF

    Article summary

    Summary

    This API creates a monitored target group.

    Request

    API URL

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

    Request header

    The request headers specified in common settings are required.

    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}
    

    Request Body

    MonitorGrpDto

    Example

    Request example

    POST /cw_fea/real/cw/api/rule/group/monitor
    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", // cw_key of the product with which the monitored target group is associated
      "groupName": "monitorGrp001",
      "groupDesc": "This is an example of creating a monitored target group."
      "monitorGroupItemList": [
        {
          "nrn": "targetNRN001",
          "resourceId": "targetId001"
        },
        {
          "nrn": "targetNRN002",
          "resourceId": "targetId002"
        }
      ]
    }
    

    Response example

    The API returns HTTP code 200 as well as the ID of the created monitored target group if creation is completed without any error.

    "xxxxxxxxxxxxxxxxxx"
    

    Was this article helpful?

    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.