:doc:`DeviceFarm <../../devicefarm>` / Client / delete_project

**************
delete_project
**************



.. py:method:: DeviceFarm.Client.delete_project(**kwargs)

  

  Deletes an AWS Device Farm project, given the project ARN. You cannot delete a project if it has an active run or session.

   

  .. warning::

     

    You cannot undo this operation.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProject>`_  


  **Request Syntax**
  ::

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

    Represents the Amazon Resource Name (ARN) of the Device Farm project to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the result of a delete project request.

      
  
  **Exceptions**
  
  *   :py:class:`DeviceFarm.Client.exceptions.ArgumentException`

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

  
  *   :py:class:`DeviceFarm.Client.exceptions.LimitExceededException`

  
  *   :py:class:`DeviceFarm.Client.exceptions.ServiceAccountException`

  

  **Examples**

  The following example deletes a specific project.
  ::

    response = client.delete_project(
        # You can get the project ARN by using the list-projects CLI command.
        arn='arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  