m (moved Server/Cloud to Server/Cloud Reinstall) |
|||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | The [[Server|server]] reinstall command will reinstall the last used operating system on the server | + | The [[Server|server]] reinstall command will reinstall the last used operating system on the server |
==Path== | ==Path== | ||
*/server/reinstall/{$serverid} | */server/reinstall/{$serverid} | ||
==Method== | ==Method== | ||
− | *[[glossary# | + | *[[glossary#POST|POST]] |
==Availability== | ==Availability== | ||
Line 13: | Line 13: | ||
==Required Data Parameters== | ==Required Data Parameters== | ||
*{$serverid}: The server ID that is returned when using the [[Server List|list]] command. | *{$serverid}: The server ID that is returned when using the [[Server List|list]] command. | ||
+ | *{$pin}: Account PIN number | ||
==Optional Data Parameters== | ==Optional Data Parameters== | ||
− | * | + | *{$auto}: Set to true for an automatic installation |
+ | *{$osid}: id of operating system you would like to reinstall with | ||
==Returned Data== | ==Returned Data== | ||
<pre> | <pre> | ||
stdClass Object( | stdClass Object( | ||
− | [success] => TRUE/FALSE | + | [success] => TRUE/FALSE, |
+ | [password] => $password | ||
) | ) | ||
</pre> | </pre> |
The server reinstall command will reinstall the last used operating system on the server
Contents |
stdClass Object( [success] => TRUE/FALSE, [password] => $password )