Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

disassociate_member_from_group

disassociate_member_from_group(**kwargs)

Removes a member from a group.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_member_from_group(
    OrganizationId='string',
    GroupId='string',
    MemberId='string'
)
Parameters
  • OrganizationId (string) --

    [REQUIRED]

    The identifier for the organization under which the group exists.

  • GroupId (string) --

    [REQUIRED]

    The identifier for the group from which members are removed.

  • MemberId (string) --

    [REQUIRED]

    The identifier for the member to be removed to the group.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkMail.Client.exceptions.DirectoryServiceAuthenticationFailedException
  • WorkMail.Client.exceptions.DirectoryUnavailableException
  • WorkMail.Client.exceptions.EntityNotFoundException
  • WorkMail.Client.exceptions.EntityStateException
  • WorkMail.Client.exceptions.InvalidParameterException
  • WorkMail.Client.exceptions.OrganizationNotFoundException
  • WorkMail.Client.exceptions.OrganizationStateException
  • WorkMail.Client.exceptions.UnsupportedOperationException