Update a fleet
Updates fields on a fleet by its ID. Vault ownership is enforced by the hive backend.
PATCH
/api/fleets/{id}Path parameters
idnumberrequiredPath parameter: id
Request
curl
curl -X PATCH https://platform.trickest.com/api/fleets/{id} \
-H "Authorization: Bearer $TRICKEST_TOKEN"Responses
200Updated fleet
idstringrequirednamestringrequiredvault_idstringvaultstringclusterstringdefaultbooleantypeenumrequiredOne of: HOSTED, MANAGED
max_machinesnumberactive_machinesnumbermachines_countnumbermachinesobjectrequiredcreated_datestringrequiredmodified_datestring400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring