Create a new machine in a fleet.
Create a new machine in a fleet.
POST
/api/machinesBody
fleetstringrequiredRequest
curl
curl -X POST https://platform.trickest.com/api/machines \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
201Created machine
idstringrequirednamestringfleetstringfleet_idstringmachine_typenumberstateenum | numberstatusobjectipstringexecutionstringauthobjectcreated_datestring400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring