:doc:`GameLift <../../gamelift>` / Client / delete_container_fleet

**********************
delete_container_fleet
**********************



.. py:method:: GameLift.Client.delete_container_fleet(**kwargs)

  

  **This API works with the following fleet types:** Container

   

  Deletes all resources and information related to a container fleet and shuts down currently running fleet instances, including those in remote locations. The container fleet must be in ``ACTIVE`` status to be deleted.

   

  To delete a fleet, specify the fleet ID to be terminated. During the deletion process, the fleet status is changed to ``DELETING``.

   

  **Learn more**

   

  `Setting up Amazon GameLift Servers Fleets <https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html>`__

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteContainerFleet>`_  


  **Request Syntax**
  ::

    response = client.delete_container_fleet(
        FleetId='string'
    )
    
  :type FleetId: string
  :param FleetId: **[REQUIRED]** 

    A unique identifier for the container fleet to delete. You can use either the fleet ID or ARN value.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`GameLift.Client.exceptions.NotFoundException`

  
  *   :py:class:`GameLift.Client.exceptions.InternalServiceException`

  
  *   :py:class:`GameLift.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`GameLift.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`GameLift.Client.exceptions.TaggingFailedException`

  
  *   :py:class:`GameLift.Client.exceptions.UnsupportedRegionException`

  