ServerActionReboot

From Hostway API Documentation
Revision as of 14:41, 2 February 2012 by Administrator (Talk | contribs)
Jump to: navigation, search

The reboot function allows for either a soft or hard reboot of a server. With a soft reboot (SOFT), the operating system is signaled to restart, which allows for a graceful shutdown of all processes. A hard reboot (HARD) is the equivalent of power cycling the server.

POST /servers/id/action

Parameters

id
The unique identifier of the image to be retrieved. Note see warnings in Hypermedia.

JSON

{
   "reboot":{
      "type":"HARD"
   }
}


type - string
Type of reboot to preform. Values: HARD, SOFT.

Result

blog comments powered by Disqus


Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox