---
title: "POST /#X-Amz-Target=IoTAutobahnControlPlane.ListVehiclesInFleet"
method: POST
path: "/#X-Amz-Target=IoTAutobahnControlPlane.ListVehiclesInFleet"
---

# POST /#X-Amz-Target=IoTAutobahnControlPlane.ListVehiclesInFleet

`POST /#X-Amz-Target=IoTAutobahnControlPlane.ListVehiclesInFleet`

Retrieves a list of summaries of all vehicles associated with a fleet.

This API operation uses pagination. Specify the `nextToken` parameter in the request to return more results.

## Headers

- `X-Amz-Target` 'IoTAutobahnControlPlane.ListVehiclesInFleet', required

## Request body

- ListVehiclesInFleetRequest
  - `fleetId` string, required — The ID of a fleet.
  - `nextToken` string — <p>A pagination token for the next set of results.</p> <p>If the results of a search are large, only a portion of the results are returned, and a <code>nextToken</code> pagination token is returned in the response. To retrieve the next set of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value. </p>
  - `maxResults` integer — The maximum number of items to return, between 1 and 100, inclusive.

## Response `200`

Success

- ListVehiclesInFleetResponse
  - `vehicles` VehicleName[] — A list of vehicles associated with the fleet.
  - `nextToken` string — The token to retrieve the next set of results, or <code>null</code> if there are no more results.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — ThrottlingException
- `483` — ValidationException
- `484` — AccessDeniedException

---

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