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 |
Name of the Role. |
users |
Name of the User. |
groups |
Name of the Group. |
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'."
]
}