deleteGroup
inline suspend fun CognitoIdentityProviderClient.deleteGroup(crossinline block: DeleteGroupRequest.Builder.() -> Unit): DeleteGroupResponse
Deletes a group from the specified user pool. When you delete a group, that group no longer contributes to users' cognito:preferred_group
or cognito:groups
claims, and no longer influence access-control decision that are based on group membership. For more information about user pool groups, 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