Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Children Display
alltrue
styleh3
pageSuperb Cloud API

POST /virtual_machines/:virtual_machine_id/startup 

Starts up specified VS

Sections:

Table of Contents
maxLevel4
minLevel2
includeResponse.*|JSON.*|XML.*

Request Parameters

(optional)mode - "recovery" Only set mode to start up in recovery mode, otherwise omit to startup normally.

Note

A Virtual Server must be built before it can be started.

Response Parameters

Info

201 status on Success, 422 on failure

JSON Request example

Code Block
languagebash
themeRDark
 curl -i -X POST -u user:userpass -d '{"mode":"recovery"}' --url httphttps://mycp.superb.net/api/virtual_machines/:virtual_machine_id/startup.json

XML Request example

Code Block
languagebash
themeRDark
 curl -i -X POST -u user:userpass -d '<mode>recovery</mode>' --url httphttps://mycp.superb.net/api/virtual_machines/:virtual_machine_id/startup.xml