delete_room_membership

Chime.Client.delete_room_membership(**kwargs)

Removes a member from a chat room in an Amazon Chime Enterprise account.

See also: AWS API Documentation

Request Syntax

response = client.delete_room_membership(
    AccountId='string',
    RoomId='string',
    MemberId='string'
)
Parameters
  • AccountId (string) --

    [REQUIRED]

    The Amazon Chime account ID.

  • RoomId (string) --

    [REQUIRED]

    The room ID.

  • MemberId (string) --

    [REQUIRED]

    The member ID (user ID or bot ID).

Returns

None

Exceptions

  • Chime.Client.exceptions.UnauthorizedClientException
  • Chime.Client.exceptions.NotFoundException
  • Chime.Client.exceptions.BadRequestException
  • Chime.Client.exceptions.ForbiddenException
  • Chime.Client.exceptions.ThrottledClientException
  • Chime.Client.exceptions.ServiceUnavailableException
  • Chime.Client.exceptions.ServiceFailureException