(Created page with "The server reinstall command will reinstall the last used operating system on the server, in the future the operating system ID will be able to be passed through th...") |
|||
(3 intermediate revisions by 2 users 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 )