:doc:`mediapackagev2 <../../mediapackagev2>` / Client / delete_origin_endpoint

**********************
delete_origin_endpoint
**********************



.. py:method:: mediapackagev2.Client.delete_origin_endpoint(**kwargs)

  

  Origin endpoints can serve content until they're deleted. Delete the endpoint if it should no longer respond to playback requests. You must delete all endpoints from a channel before you can delete the channel.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/DeleteOriginEndpoint>`_  


  **Request Syntax**
  ::

    response = client.delete_origin_endpoint(
        ChannelGroupName='string',
        ChannelName='string',
        OriginEndpointName='string'
    )
    
  :type ChannelGroupName: string
  :param ChannelGroupName: **[REQUIRED]** 

    The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.

    

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

    The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.

    

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

    The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`mediapackagev2.Client.exceptions.ThrottlingException`

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

  
  *   :py:class:`mediapackagev2.Client.exceptions.InternalServerException`

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

  