:doc:`MediaLive <../../medialive>` / Client / delete_schedule

***************
delete_schedule
***************



.. py:method:: MediaLive.Client.delete_schedule(**kwargs)

  Delete all schedule actions on a channel.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSchedule>`_  


  **Request Syntax**
  ::

    response = client.delete_schedule(
        ChannelId='string'
    )
    
  :type ChannelId: string
  :param ChannelId: **[REQUIRED]** Id of the channel whose schedule is being deleted.

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* Successful delete of the schedule.
  
  **Exceptions**
  
  *   :py:class:`MediaLive.Client.exceptions.BadRequestException`

  
  *   :py:class:`MediaLive.Client.exceptions.InternalServerErrorException`

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

  
  *   :py:class:`MediaLive.Client.exceptions.BadGatewayException`

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

  
  *   :py:class:`MediaLive.Client.exceptions.GatewayTimeoutException`

  
  *   :py:class:`MediaLive.Client.exceptions.TooManyRequestsException`

  