DeleteMonitorGrp
- Print
- PDF
DeleteMonitorGrp
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
This API deletes a monitored target group.
Request
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/monitor
Method: DELETE
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 Parameters
Parameter Name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
prodKey | Y | String | cw_key of the product to which the monitor target, that is to be set as a monitored group, belongs |
Request Body
Parameter Name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
monitorGroupIds | Y | Set<String> | ID of the monitored group to delete. Multiple monitored groups can be deleted at a time. |
Example
Request example
DELETE /cw_fea/real/cw/api/rule/group/monitor?prodKey=xxxxxxxxxxxxxxxxxx
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:
[
// Monitored target group IDs
"xxxxxxxxxxxxxxxxxx",
"xxxxxxxxxxxxxxxxxx"
]
Response example
The API returns HTTP code 200 without a response body if the monitored target is deleted without any errors.
Was this article helpful?