CopyRuleGroup
    • PDF

    CopyRuleGroup

    • PDF

    Article Summary

    Summary

    This API copies an event rule.

    Request

    API URL

    URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/rule/group/ruleGrp/copy/{id}
    Method: PUT
    

    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 NameRequirement statusTypeRestrictionsDescription
    idYStringID of the event rule

    Example

    Request example

    Below is an example of an event rule of ID "xxxxxxxxxxxxxxxxxx" being copied.

    PUT /cw_fea/real/cw/api/rule/group/ruleGrp/copy/xxxxxxxxxxxxxxxxxx
    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 as well as the ID of the copied event rule if it is copied without any errors.

    "xxxxxxxxxxxxxxxxxx"
    

    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.