:doc:`Chime <../../chime>` / Client / delete_room_membership

**********************
delete_room_membership
**********************



.. py:method:: Chime.Client.delete_room_membership(**kwargs)

  

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

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomMembership>`_  


  **Request Syntax**
  ::

    response = client.delete_room_membership(
        AccountId='string',
        RoomId='string',
        MemberId='string'
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The Amazon Chime account ID.

    

  
  :type RoomId: string
  :param RoomId: **[REQUIRED]** 

    The room ID.

    

  
  :type MemberId: string
  :param MemberId: **[REQUIRED]** 

    The member ID (user ID or bot ID).

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Chime.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`Chime.Client.exceptions.NotFoundException`

  
  *   :py:class:`Chime.Client.exceptions.BadRequestException`

  
  *   :py:class:`Chime.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Chime.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceFailureException`

  