label list

Lists registered labels. Permissions required: fc or a.

Lists registered labels. See Using Storage Labels for more information on labels.

Syntax

CLI
maprcli label list
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/label/list

Examples

List registered labels.

CLI
$ maprcli label list -json
{
  "timestamp":1585930322953,
  "timeofday":"2020-04-03 04:12:02.953 GMT+0000 PM",
  "status":"OK",
  "total":1,
  "data":[
    {          
      "registered_labels":[
        {                      
          "label":"ssd",                
          "id":1                        
        },                      
        {                      
          "label":"hdd",                
          "id":2                        
        }
      ]                
    }          
  ]    
}
REST
https://abc.sj.us:8443/rest/label/list