tier remove

Removes a tier.

Note: You cannot remove a tier currently associated with a volume.

Syntax

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

Parameters

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

Examples

Remove a tier (specified by name):

# /opt/mapr/bin/maprcli tier remove -name testCold -json
{
    "timestamp":1521064355911,
    "timeofday":"2018-03-14 02:52:35.911 GMT-0700 PM",
    "status":"OK",
    "total":0,
    "data":[
   	 
    ],
    "messages":[
   	 "Successfully deleted tier: 'testCold'"
    ]
}
# curl -k -X POST 'https://abc.sj.us:8443/rest/tier/remove?name=testCold' --user mapr:mapr
{"timestamp":1526485963448,"timeofday":"2018-05-16 08:52:43.448 GMT-0700 AM","status":"OK","total":0,"data":[],"messages":["Successfully deleted tier: 'testCold'"]}