:doc:`Rekognition <../../rekognition>` / Client / delete_project

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



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

  

  Deletes a Amazon Rekognition project. To delete a project you must first delete all models or adapters associated with the project. To delete a model or adapter, see  DeleteProjectVersion.

   

  ``DeleteProject`` is an asynchronous operation. To check if the project is deleted, call  DescribeProjects. The project is deleted when the project no longer appears in the response. Be aware that deleting a given project will also delete any ``ProjectPolicies`` associated with that project.

   

  This operation requires permissions to perform the ``rekognition:DeleteProject`` action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/DeleteProject>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the project that you want to delete.

    

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

    
    ::

      {
          'Status': 'CREATING'|'CREATED'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Status** *(string) --* 

        The current status of the delete project operation.

        
  
  **Exceptions**
  
  *   :py:class:`Rekognition.Client.exceptions.ResourceInUseException`

  
  *   :py:class:`Rekognition.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Rekognition.Client.exceptions.InvalidParameterException`

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

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

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

  
  *   :py:class:`Rekognition.Client.exceptions.ProvisionedThroughputExceededException`

  