DeleteMetricsGrp
    • PDF

    DeleteMetricsGrp

    • PDF

    Article Summary

    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 NameRequirement statusTypeRestrictionsDescription
    prodKeyYStringProduct's cw_key

    Request Body

    Parameter NameRequirement statusTypeRestrictionsDescription
    metricsGroupIdsYSet<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

    The API returns HTTP code 200 if the monitored target is deleted without any errors.


    Was this article helpful?

    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.