m (moved Server Reboot to Server/Cloud Reboot) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | The reboot command | + | 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== | ||
− | * | + | *[[glossary#get|GET]] |
==Availability== | ==Availability== | ||
− | *[[Dedicated Server]] | + | *[[servers#Dedicated Server|Dedicated Server]] |
− | *[[Private Cloud]] | + | *[[servers#Private Cloud|Private Cloud]] |
− | *[[Public Cloud]] | + | *[[servers#Public Cloud|Public Cloud]] |
==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== | ||
− | * | + | *None |
==Returned Data== | ==Returned Data== |
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 )