:doc:`CodeCatalyst <../../codecatalyst>` / Client / delete_project

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



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

  

  Deletes a project in a space.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codecatalyst-2022-09-28/DeleteProject>`_  


  **Request Syntax**
  ::

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

    The name of the space.

    

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

    The name of the project in the space. To retrieve a list of project names, use  ListProjects.

    

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

    
    ::

      {
          'spaceName': 'string',
          'name': 'string',
          'displayName': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **spaceName** *(string) --* 

        The name of the space.

        
      

      - **name** *(string) --* 

        The name of the project in the space.

        
      

      - **displayName** *(string) --* 

        The friendly name displayed to users of the project in Amazon CodeCatalyst.

        
  
  **Exceptions**
  
  *   :py:class:`CodeCatalyst.Client.exceptions.ThrottlingException`

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ConflictException`

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

  
  *   :py:class:`CodeCatalyst.Client.exceptions.ServiceQuotaExceededException`

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

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

  