:doc:`ChimeSDKMessaging <../../chime-sdk-messaging>` / Client / delete_channel_ban

******************
delete_channel_ban
******************



.. py:method:: ChimeSDKMessaging.Client.delete_channel_ban(**kwargs)

  

  Removes a member from a channel's ban list.

   

  .. note::

    

    The ``x-amz-chime-bearer`` request header is mandatory. Use the ARN of the ``AppInstanceUser`` or ``AppInstanceBot`` that makes the API call as the value in the header.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan>`_  


  **Request Syntax**
  ::

    response = client.delete_channel_ban(
        ChannelArn='string',
        MemberArn='string',
        ChimeBearer='string'
    )
    
  :type ChannelArn: string
  :param ChannelArn: **[REQUIRED]** 

    The ARN of the channel from which the ``AppInstanceUser`` was banned.

    

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

    The ARN of the ``AppInstanceUser`` that you want to reinstate.

    

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

    The ARN of the ``AppInstanceUser`` or ``AppInstanceBot`` that makes the API call.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`ChimeSDKMessaging.Client.exceptions.BadRequestException`

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

  
  *   :py:class:`ChimeSDKMessaging.Client.exceptions.UnauthorizedClientException`

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

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

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

  