tier rule remove

Removes the rule for offloading data.

Note: You cannot remove a rule that is currently associated with a volume.

Syntax

CLI
$ maprcli tier rule remove
    -name <rule_name>
    [ -cluster <cluster_name> ]
REST
Request Type POST
Request URL
http[s]://<host:port>/rest/tier/rule/remove?<parameters>

Parameters

Parameter Description
cluster The name of the cluster on which to run the command.
name The name of the rule to remove.

Examples

Remove the rule named testRule:

# /opt/mapr/bin/maprcli tier rule remove -name testRule -json
{
    "timestamp":1516225222172,
    "timeofday":"2018-01-17 09:40:22.172 GMT+0000",
    "status":"OK",
    "total":0,
    "data":[
        
    ],
    "messages":[
        "Successfully deleted rule: 'testRule'"
    ]
}
# curl -k -X POST 'https://abc.sj.us:8443/rest/tier/rule/remove?name=testRule' --user mapr:mapr
{"timestamp":1526488467571,"timeofday":"2018-05-16 09:34:27.571 GMT-0700 AM","status":"OK","total":0,"data":[],"messages":["Successfully deleted rule: 'testRule'"]}