DeleteMetricsGrp
- Print
- PDF
DeleteMetricsGrp
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
This API deletes a monitored item group (template).
Request
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/metrics/del
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 | Product's cw_key |
Request Body
Parameter Name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
metricsGroupIds | Y | Set<String> | ID of the monitored item group to delete. Multiple monitored item groups can be deleted at a time. |
Example
Request example
DELETE /cw_fea/real/cw/api/rule/group/metrics/del?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:
[
// IDs of the monitored item group (template)
"xxxxxxxxxxxxxxxxxx",
"xxxxxxxxxxxxxxxxxx"
]
Response example
If deletion is completed without error, then HTTP code 200 is returned without a response body.
Was this article helpful?