entity modify

Modifies a user or group quota or email address. Permissions required: fc or a.

Syntax

CLI
maprcli entity modify
    [ -advisoryquota <advisory quota>
    [ -cluster <cluster> ] 
    [ -email <email>]
    [ -entities <entities> ]
    -name <entityname>
    [ -quota <quota> ]
    -type <type>
REST
Request Type POST
Request URL
http[s]://<host>:<port>/rest/entity/modify?<parameters> 

Parameters

Parameter Description
advisoryquota The advisory quota.
cluster The cluster on which to run the command.
email Email address.
entities A comma-separated list of entities, in the format <type>:<name>. Example: 0:<user1>,0:<user2>,1:<group1>,1:<group2>...
name The entity name.
quota The quota for the entity.
type The entity type:
  • 0=user
  • 1-group

Examples

Modify the email address for the user 'root':

maprcli entity modify -name root -type 0 -email test@example.com
https://abc.sj.us:8443/rest/entity/modify?name=root&type=0&email=test@example.com