Update a fleet
PATCH
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.
fleetNamestringNew 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+)?$attributesobjectAttributes to add or overwrite (merged into the existing set).
attributesToDeletearray<string>Attribute keys to remove from the fleet.
preferredDisplayMetricsnull | arrayReplacement set of preferred display metric ids, if changing.
Response
application/json
Updated.