UpdateMonitorGrp
- Print
- PDF
UpdateMonitorGrp
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
This API edits a monitored target group.
Request
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/monitor
Method: PUT
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
Example
Request example
PUT /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:
{
"id": "monitorGroupId001",
"prodKey": "xxxxxxxxxxxxxxxxxx",
"groupName": "monitorGrp001",
"monitorGroupItemList": [
{
"nrn": "targetNRN001",
"resourceId": "targetId001"
},
{
"nrn": "targetNRN002",
"resourceId": "targetId002"
}
]
}
Response example
The API returns HTTP code 200 without any response body if the update is completed without any errors.
Was this article helpful?