Update a machine.
Update machine name.
PUT
/api/machines/{id}Path parameters
idnumberrequiredPath parameter: id
Body
namestringrequiredRequest
curl
curl -X PUT https://platform.trickest.com/api/machines/{id} \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Updated machine
idstringrequirednamestringfleetstringfleet_idstringmachine_typenumberstateenum | numberstatusobjectipstringexecutionstringauthobjectcreated_datestring400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring