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

# POST /listDomains

`POST /listDomains`

> **Deprecated.**

Retrieves a list of domains associated to a specified fleet.

## Query parameters

- `MaxResults` string
- `NextToken` string

## Request body

- object
  - `FleetArn` string, required — The ARN of the fleet.
  - `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

- ListDomainsResponse
  - `Domains` DomainSummary[] — Information about the domains.
    - `DomainName` string, required — The name of the domain.
    - `DisplayName` string — The name to display.
    - `CreatedTime` string, date-time, required — The time that the domain was created.
    - `DomainStatus` 'PENDING_VALIDATION' | 'ASSOCIATING' | 'ACTIVE' | 'INACTIVE' | 'DISASSOCIATING' | 'DISASSOCIATED' | 'FAILED_TO_ASSOCIATE' | 'FAILED_TO_DISASSOCIATE', required — The status of the domain.
  - `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` — ResourceNotFoundException
- `484` — 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)
