ThingWorx WebSocket-based Edge MicroServer (WS EMS) and Lua Script Resource (LSR) > REST Web Services Supported by WS EMS > Restart
  
Restart
The Restart service restarts the WS EMS.
Inputs
Pass in the following parameter:
The name of the device (thing) that you want to restart. For example: {"name":"NameOfThing"}
* 
The Restart service requires that you set the restart property in the config.json file of your WS EMS for any edge-side restart requests to work correctly. Otherwise, only requests from the ThingWorx platform can restart the WS EMS. For more information, see Viewing All Configuration Options .
Outputs
This service returns an HTTP response only. If the operation was successful, it returns HTTP 200. Otherwise, it returns an HTTP error.
Here is an example of a REST call that restarts the WS EMS:
http://localhost:8000/Thingworx/Things/LocalEms/Services/Restart