:doc:`DeadlineCloud <../../deadline>` / Client / delete_fleet

************
delete_fleet
************



.. py:method:: DeadlineCloud.Client.delete_fleet(**kwargs)

  

  Deletes a fleet.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/DeleteFleet>`_  


  **Request Syntax**
  ::

    response = client.delete_fleet(
        clientToken='string',
        farmId='string',
        fleetId='string'
    )
    
  :type clientToken: string
  :param clientToken: 

    The unique token which the server uses to recognize retries of the same request.

    This field is autopopulated if not provided.

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

    The farm ID of the farm to remove from the fleet.

    

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

    The fleet ID of the fleet to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DeadlineCloud.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`DeadlineCloud.Client.exceptions.InternalServerErrorException`

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

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

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

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

  