DeleteMetricsGrpByProdKeyAndId
- Print
- PDF
DeleteMetricsGrpByProdKeyAndId
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
This API deletes a monitored item group using the ID of the monitored group (template).
Request
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/metrics/del/{prodKey}/{id}
Method: DELETE
Request header
The request headers specified in common settings are required.
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 | Product's cw_key | |
id | Y | String | ID of the monitored item group (template) |
Example
Request example
The code below shows an example of deleting a monitored item group with the ID "metricGroupId001" that is in the monitored item group (template) of the product with cw_key "xxxxxxxxxxxxxxxxxx".
DELETE /cw_fea/real/cw/api/rule/group/metrics/del/xxxxxxxxxxxxxxxxxx/metricGroupId001
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}
Response example
The API returns HTTP code 200 without any response body if the rules are deleted without any errors.
Was this article helpful?