Server/Cloud Reinstall

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
(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, in the future the operating system ID will be able to be passed through the API.
+
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#GET|GET]]
+
*[[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==
*None
+
*{$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>

Latest revision as of 14:42, 23 October 2019

The server reinstall command will reinstall the last used operating system on the server

Contents

Path

  • /server/reinstall/{$serverid}

Method

Availability

Required Data Parameters

  • {$serverid}: The server ID that is returned when using the list command.
  • {$pin}: Account PIN number

Optional Data Parameters

  • {$auto}: Set to true for an automatic installation
  • {$osid}: id of operating system you would like to reinstall with

Returned Data

stdClass Object(
  [success] => TRUE/FALSE,
  [password] => $password
)
Personal tools