:doc:`CodeBuild <../../codebuild>` / Client / batch_delete_builds

*******************
batch_delete_builds
*******************



.. py:method:: CodeBuild.Client.batch_delete_builds(**kwargs)

  

  Deletes one or more builds.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuilds>`_  


  **Request Syntax**
  ::

    response = client.batch_delete_builds(
        ids=[
            'string',
        ]
    )
    
  :type ids: list
  :param ids: **[REQUIRED]** 

    The IDs of the builds to delete.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'buildsDeleted': [
              'string',
          ],
          'buildsNotDeleted': [
              {
                  'id': 'string',
                  'statusCode': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **buildsDeleted** *(list) --* 

        The IDs of the builds that were successfully deleted.

        
        

        - *(string) --* 
    
      

      - **buildsNotDeleted** *(list) --* 

        Information about any builds that could not be successfully deleted.

        
        

        - *(dict) --* 

          Information about a build that could not be successfully deleted.

          
          

          - **id** *(string) --* 

            The ID of the build that could not be successfully deleted.

            
          

          - **statusCode** *(string) --* 

            Additional information about the build that could not be successfully deleted.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`CodeBuild.Client.exceptions.InvalidInputException`

  