:doc:`IVS <../../ivs>` / Client / delete_channel

**************
delete_channel
**************



.. py:method:: IVS.Client.delete_channel(**kwargs)

  

  Deletes the specified channel and its associated stream keys.

   

  If you try to delete a live channel, you will get an error (409 ConflictException). To delete a channel that is live, call  StopStream, wait for the Amazon EventBridge "Stream End" event (to verify that the stream's state is no longer Live), then call DeleteChannel. (See `Using EventBridge with Amazon IVS <https://docs.aws.amazon.com/ivs/latest/userguide/eventbridge.html>`__.)

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteChannel>`_  


  **Request Syntax**
  ::

    response = client.delete_channel(
        arn='string'
    )
    
  :type arn: string
  :param arn: **[REQUIRED]** 

    ARN of the channel to be deleted.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`IVS.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IVS.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`IVS.Client.exceptions.ValidationException`

  
  *   :py:class:`IVS.Client.exceptions.PendingVerification`

  
  *   :py:class:`IVS.Client.exceptions.ConflictException`

  