:doc:`Transfer <../../transfer>` / Client / start_remote_delete

*******************
start_remote_delete
*******************



.. py:method:: Transfer.Client.start_remote_delete(**kwargs)

  

  Deletes a file or directory on the remote SFTP server.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartRemoteDelete>`_  


  **Request Syntax**
  ::

    response = client.start_remote_delete(
        ConnectorId='string',
        DeletePath='string'
    )
    
  :type ConnectorId: string
  :param ConnectorId: **[REQUIRED]** 

    The unique identifier for the connector.

    

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

    The absolute path of the file or directory to delete. You can only specify one path per call to this operation.

    

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

    
    ::

      {
          'DeleteId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **DeleteId** *(string) --* 

        Returns a unique identifier for the delete operation.

        
  
  **Exceptions**
  
  *   :py:class:`Transfer.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Transfer.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Transfer.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Transfer.Client.exceptions.InternalServiceError`

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

  