(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | The [[Server|server]] reboot command will reboot your [[Dedicated Server]] by momentarily interrupting the power to the server. | + | The [[Server|server]] reboot command will reboot your [[servers#Dedicated Server|Dedicated Server]] by momentarily interrupting the power to the server. |
− | When used with a [[Private Cloud|private]] or [[Public Cloud|public]] cloud server a graceful reboot will be attempted. | + | When used with a [[servers#Private Cloud|private]] or [[servers#Public Cloud|public]] cloud server a graceful reboot will be attempted. |
+ | |||
+ | If a graceful reboot does not work on a [[servers#Private Cloud|private]] cloud server, /force/ can be added to the patch to trigger a hard reboot. | ||
==Path== | ==Path== | ||
*/server/reboot/{$serverid} | */server/reboot/{$serverid} | ||
+ | */server/reboot/force/{$serverid} (only available for [[servers#Private Cloud|private]] cloud servers) | ||
==Method== | ==Method== | ||
Line 15: | Line 18: | ||
==Required Data Parameters== | ==Required Data Parameters== | ||
− | *{$serverid} | + | *{$serverid}: The server ID that is returned when using the [[Server List|list]] command. |
==Optional Data Parameters== | ==Optional Data Parameters== |
The server reboot command will reboot your Dedicated Server by momentarily interrupting the power to the server.
When used with a private or public cloud server a graceful reboot will be attempted.
If a graceful reboot does not work on a private cloud server, /force/ can be added to the patch to trigger a hard reboot.
Contents |
stdClass Object( [success] => TRUE/FALSE )