1**To delete an EC2 Fleet**
2
3The following ``delete-fleets`` example deletes the specified EC2 Fleet and terminates the associated instances. ::
4
5    aws ec2 delete-fleets \
6        --fleet-ids fleet-12a34b55-67cd-8ef9-ba9b-9208dEXAMPLE \
7        --terminate-instances
8
9Output::
10
11    {
12        "SuccessfulFleetDeletions": [
13            {
14                "CurrentFleetState": "deleted_terminating",
15                "PreviousFleetState": "active",
16                "FleetId": "fleet-12a34b55-67cd-8ef9-ba9b-9208dEXAMPLE"
17            }
18        ],
19        "UnsuccessfulFleetDeletions": []
20    }
21
22For more information, see `Managing an EC2 Fleet <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*.