Removes the rule for offloading data.
$ maprcli tier rule remove
-name <rule_name>
[ -cluster <cluster_name> ]| Request Type | POST |
| Request URL | |
| Parameter | Description |
|---|---|
cluster |
The name of the cluster on which to run the command. |
name |
The name of the rule to remove. |
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'"]}