---
title: "POST /listFleets"
method: POST
path: "/listFleets"
deprecated: true
---

# POST /listFleets

`POST /listFleets`

> **Deprecated.**

Retrieves a list of fleets for the current account and Region.

## Query parameters

- `MaxResults` string
- `NextToken` string

## Request body

- object
  - `NextToken` string — The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
  - `MaxResults` integer — The maximum number of results to be included in the next page.

## Response `200`

Success

- ListFleetsResponse
  - `FleetSummaryList` FleetSummary[] — The summary list of the fleets.
    - `FleetArn` string — The Amazon Resource Name (ARN) of the fleet.
    - `CreatedTime` string, date-time — The time when the fleet was created.
    - `LastUpdatedTime` string, date-time — The time when the fleet was last updated.
    - `FleetName` string — The name of the fleet.
    - `DisplayName` string — The name of the fleet to display.
    - `CompanyCode` string — The identifier used by users to sign into the Amazon WorkLink app.
    - `FleetStatus` 'CREATING' | 'ACTIVE' | 'DELETING' | 'DELETED' | 'FAILED_TO_CREATE' | 'FAILED_TO_DELETE' — The status of the fleet.
    - `Tags` object — The tags attached to the resource. A tag is a key-value pair.
  - `NextToken` string — The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.

## Other responses

- `480` — UnauthorizedException
- `481` — InternalServerErrorException
- `482` — InvalidRequestException
- `483` — TooManyRequestsException

---

[API](https://skmtc.net/aws/apis/worklink.md) · [All operations](https://skmtc.net/aws/apis/worklink/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/worklink/versions/b0c00d03aaed/schema)
