Multi-Fleets Management
Our API supports the management of multiple fleets, allowing users to access and manipulate data specific to each fleet seamlessly. To ensure accurate data retrieval and manipulation across different fleets, users must specify their target fleet when making API requests.
Specifying the Fleet in Requests
To target a specific fleet, include the Fleet-Id
header in your API requests. This header should carry the unique identifier (ID) of the fleet you wish to interact with.
Header Format
- Header Name: Fleet-Id
- Value: The unique identifier (ID) of the fleet.
Example of including the Fleet-Id
header in a request:
Fleet-Id: <your-fleet-id>
Default Fleet Data Retrieval
If the Fleet-Id
header is not included in a request, the API will automatically revert to the user’s default fleet. Data associated with this default fleet will be fetched and returned in the response.
This approach ensures that users can manage multiple fleets within the same system, providing flexibility and efficiency in accessing fleet-specific data. Always ensure that the Fleet-Id
header is correctly specified to interact with the intended fleet.