DeleteMetricGroupForce
    • PDF

    DeleteMetricGroupForce

    • PDF

    Article Summary

    개요

    감시 항목 그룹(템플릿)과 관련된 모든 Event Rule을 삭제합니다.

    요청

    API URL

    URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/metric/groups
    Method: DELETE
    

    요청 헤더

    공통설정에 명시된 요청헤더가 필요합니다.

    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

    요청 바디

    List<TypeGroupRelatedRuleDto>

    예시

    요청 예시

    DELETE /cw_fea/real/cw/api/rule/group/metric/groups?prodKey=xxxxxxxxxxxxxxxxxx
    Host: cw.apigw.ntruss.com
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    Payload: // GetRuleGroupByMetricGroupIds (/rule/group/metric/group/related) 를 통해 얻은 응답을 요청 바디로 넣어 요청할 수 있습니다.
    [
      {
        "id": "metricGroupId001",
        "ruleGroupItemDtoList": [
          {
            "cfTriggers": [],
            "createTime": 1589782581417,
            "domainCode": "PUB",
            "groupName": "EvnetRule001",
            "id": "eventRuleId001",
            "prodKey": "xxxxxxxxxxxxxxxxxx",
            "recipientNotifications": [
              {
                "groupName": "통보대상자그룹001",
                "groupNum": xx,
                "notifyTypes": [
                  "SMS",
                  "EMAIL"
                ]
              }
            ],
            "regionCode": "KR",
            "ruleVersion": "V2",
            "updateTime": 1589782581417
          }
        ]
      }
    ]
    
    

    응답 예시

    오류없이 삭제가 완료된 경우 response body 없이 HTTP code 200이 리턴됩니다.


    이 문서가 도움이 되었습니까?

    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.