security iam role detach

Removes Identities such as Users, Groups from Custom Role

Syntax

IMPORTANT
This operation is only supported on primary cluster group.
The iam role detach removes Identities such as Users, Groups to Custom Role.
maprcli security iam role detach -name <Role Name> [ -users <User Names> -groups <Group Names> ]
Example:
maprcli security iam role detach -name Eng -users user1 -json
{
        "timestamp":1726571645332,
        "timeofday":"2024-09-17 04:14:05.332 GMT-0700 AM",
        "status":"OK",
        "total":0,
        "data":[

        ],
        "messages":[
                "Successfully detached the role 'Eng'."
        ]
}