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

*******************
delete_channel_flow
*******************



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

  

  Deletes a channel flow, an irreversible process. This is a developer API.

   

  .. note::

    

    This API works only when the channel flow is not associated with any channel. To get a list of all channels that a channel flow is associated with, use the ``ListChannelsAssociatedWithChannelFlow`` API. Use the ``DisassociateChannelFlow`` API to disassociate a channel flow from all channels.

    

  

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


  **Request Syntax**
  ::

    response = client.delete_channel_flow(
        ChannelFlowArn='string'
    )
    
  :type ChannelFlowArn: string
  :param ChannelFlowArn: **[REQUIRED]** 

    The ARN of the channel flow.

    

  
  
  :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.ConflictException`

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

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

  