Aerovy Platform logo

Update a fleet

PATCHhttps://spectra.api.aerovy.com/v2/fleets/{placeId}

Updates a fleet's metadata. Requires an API key with the write action scoped to the fleet.

Loading code example
Loading code example

Authorizations

apiKeystringheaderrequired

API key passed in the header.

Path Parameters

placeIdstringrequired

The fleet id.

Body

The fields to update; omitted/default fields are left unchanged.

fleetNamestring

New fleet name, if changing.

latitudenull | number | string<double>

New latitude, if changing.

Pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
longitudenull | number | string<double>

New longitude, if changing.

Pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
attributesobject

Attributes to add or overwrite (merged into the existing set).

attributesToDeletearray<string>

Attribute keys to remove from the fleet.

preferredDisplayMetricsnull | array

Replacement set of preferred display metric ids, if changing.

Response

application/json

Updated.