CmdID / aws / aws gamelift
aws gamelift delete-fleet
This API works with the following fleet types: EC2, Anywhere Deletes all resources and information related to a fleet and shuts down any currently running fleet instances, including those in remote locations. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a fleet that is no longer in use
The following delete-fleet example removes a fleet that has been scaled down to zero instances. If the fleet capacity is greater than zero, the request fails with an HTTP 400 error.
aws gamelift delete-fleet --fleet-id fleet-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111Identify--fleet-idA unique identifier for the fleet to be deleted.This command produces no output.
For more information, see Manage GameLift Fleets in the Amazon GameLift Developer Guide.
Options
--fleet-idA unique identifier for the fleet to be deleted.