identitystore:DeleteGroupMembership

Write

identitystore:DeleteGroupMembership is a Write access-level action in the identitystore service. Grants permission to remove a member that is part of a group in the specified IdentityStore

Resource types

ARNs that identitystore:DeleteGroupMembership can be scoped to in an IAM policy.

arn:${Partition}:identitystore:::group/${GroupId}
Group
arn:${Partition}:identitystore:::membership/${MembershipId}
GroupMembership
arn:${Partition}:identitystore::${Account}:identitystore/${IdentityStoreId}
Identitystore
arn:${Partition}:identitystore:::user/${UserId}
User

Condition keys

No condition keys are documented for this action.

Dependent actions

To use identitystore:DeleteGroupMembership you may also need to grant:

Example IAM policy

A minimal policy that allows identitystore:DeleteGroupMembership. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowIdentitystoreDeleteGroupMembership",
      "Effect": "Allow",
      "Action": "identitystore:DeleteGroupMembership",
      "Resource": "*"
    }
  ]
}

Related actions in identitystore

View all identitystore actions →