DeleteMonitorGroupForce
    • PDF

    DeleteMonitorGroupForce

    • PDF

    Article Summary

    개요

    감시 대상 그룹과 관련된 모든 Event Rule을 삭제합니다.

    요청

    API URL

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

    요청 헤더

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

    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

    요청 바디

    List<TypeGroupRelatedRuleDto>

    예시

    요청 예시

    DELETE /cw_fea/real/cw/api/rule/group/monitor/groups?prodKey=xxxxxxxxxxxxxxxxxx HTTP/1.1
    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: // GetRuleGroupByMonitorGroupIds (/rule/group/monitor/group/related) 를 통해 얻은 응답을 요청 바디로 넣어 요청할 수 있습니다.
    [
        {
            "id": "monitorGroupId001",
            "ruleGroupItemDtoList": [
                {
                    "cfTriggers": [],
                    "createTime": 1589776027701,
                    "domainCode": "PUB",
                    "groupDesc": "이벤트 룰을 수정합니다.",
                    "groupName": "EvnetRule001",
                    "id": "eventRuleId001",
                    "prodKey": "xxxxxxxxxxxxxxxxxx",
                    "recipientNotifications": [
                        {
                            "groupName": "통보대상자그룹001",
                            "groupNum": xx,
                            "notifyTypes": [
                                "SMS",
                                "EMAIL"
                            ]
                        }
                    ],
                    "regionCode": "KR",
                    "ruleVersion": "V2",
                    "suspendRuleItems": [
                        {
                            "metricGroupItemId": "metricGroupItemId001",
                            "resourceId": "resourceId001"
                        }
                    ],
                    "updateTime": 1589778114663
                },
                {
                    "cfTriggers": [],
                    "createTime": 1589775745332,
                    "domainCode": "PUB",
                    "groupName": "EvnetRule002",
                    "id": "eventRuleId002",
                    "prodKey": "xxxxxxxxxxxxxxxxxx",
                    "recipientNotifications": [
                        {
                            "groupName": "통보대상자그룹001",
                            "groupNum": xx,
                            "notifyTypes": [
                                "SMS",
                                "EMAIL"
                            ]
                        }
                    ],
                    "regionCode": "KR",
                    "ruleVersion": "V2",
                    "updateTime": 1589775745332
                }
            ]
        }
    ]
    
    

    응답 예시

    오류없이 삭제가 완료된 경우 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.