adminRemoveUserFromGroup
inline suspend fun CognitoIdentityProviderClient.adminRemoveUserFromGroup(crossinline block: AdminRemoveUserFromGroupRequest.Builder.() -> Unit): AdminRemoveUserFromGroupResponse
Given a username and a group name, removes them from the group. User pool groups are identifiers that you can reference from the contents of ID and access tokens, and set preferred IAM roles for identity-pool authentication. For more information, see Adding groups to a user pool.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more