Restart a Machine
Use the Update Specific Machine Attribute endpoint to set device attribute144 on the machine. Provide the MachineID and the attribute’s DeviceAttributeID as path parameters, and the attribute value as a body parameter:
Request
Replace
<MACHINE_ID> with your machine’s unique identifier, and <YOUR_ACCESS_TOKEN> with your Lynx API token.
The endpoint returns the updated attribute on success:
Response
If attribute
144 has never been set on the machine, a GET request for it returns 204 No Content instead of an error, and the attribute is omitted from the machine’s full attribute list until you set it.Restart Versus Reboot
A restart is the lighter of the two power operations. It powers the device off and on and applies any other pending configuration. A reboot is heavier: it activates the bootloader. Use a restart unless you specifically need the bootloader.Confirm the Restart
After the device restarts, it sends aPowerUp event back to the server confirming it is online again. Use this event to verify the restart completed.
Next steps
Machine Attributes
Update other machine attributes through the Lynx API.
Retrieve Machine Information
Look up a machine’s details and current status.