security iam role remove

The security iam role remove deletes the specified custom role.

Syntax

CLI
NOTE
  • This operation is only supported on primary cluster group.
  • Roles can be removed only if that role is NOT mapped to any identities (users, groups).
maprcli security iam role modify -name <Role Name> -desc <Description Message>

Parameters

Parameter Description
name (Required) Name of the role.
desc (Required) Description of the role.

Example

maprcli security iam role remove -name Eng -json
{
        "timestamp":1726571893152,
        "timeofday":"2024-09-17 04:18:13.152 GMT-0700 AM",
        "status":"OK",
        "total":0,
        "data":[
        
        ],
        "messages":[
                "Successfully removed the role 'Eng'."        
        ]
}