Server/Cloud Reinstall

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
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
+
*{$osid}: Operating system ID
  
 
==Returned Data==
 
==Returned Data==

Revision as of 19:53, 4 June 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

  • {$osid}: Operating system ID

Returned Data

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