security iam policy remove

You can use iam policy to remove an existing IAM policy.

Syntax

CLI
IMPORTANT
  • This operation is only supported on primary cluster group.
  • Remove operation is only supported by IAM with status untagged (no identities assigned). For more details please see here.
maprcli security iam policy remove -name <Policy Name>

Parameters

Parameter Description
name Name of the Policy.

Example

maprcli security iam policy remove -name Policy1 -json
        {
        "timestamp":1726217862296,
        "timeofday":"2024-09-13 01:57:42.296 GMT-0700 AM",
        "status":"OK",
        "total":0,
        "data":[
        
        ],
        "messages":[
                "Identity Policy 'Policy1' removed successfully"
        ]
}