security iam role remove
Deletes the specified Custom Role.
Syntax
IMPORTANT
This operation is only supported on primary
cluster group.IMPORTANT
Roles can be
removed only if that role is NOT mapped to any identities
(users, groups).iam role modify
command updates the Identities such as Users, Groups of a Custom
Role.maprcli security iam role modify -name <Role Name> -desc <Description Message>
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'."
]
}