:doc:`MediaStoreData <../../mediastore-data>` / Client / delete_object

*************
delete_object
*************



.. py:method:: MediaStoreData.Client.delete_object(**kwargs)

  

  Deletes an object at the specified path.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DeleteObject>`_  


  **Request Syntax**
  ::

    response = client.delete_object(
        Path='string'
    )
    
  :type Path: string
  :param Path: **[REQUIRED]** 

    The path (including the file name) where the object is stored in the container. Format: <folder name>/<folder name>/<file name>

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`MediaStoreData.Client.exceptions.ContainerNotFoundException`

  
  *   :py:class:`MediaStoreData.Client.exceptions.ObjectNotFoundException`

  
  *   :py:class:`MediaStoreData.Client.exceptions.InternalServerError`

  