Page tree
Skip to end of metadata
Go to start of metadata

API Essentials

API Key Generation

Autoscaling

Backups

Credit

DNS

Firewall Rules

Flex Cloud VM Control

Getting Started with Superb Flex Cloud

IP Addresses

Logs

Network Interfaces

Recipes

SSH Keys

Templates

Test Route

Troubleshooting API Issues

Viewing Activity Logs

Virtual Server Operating Systems

Virtual Servers

VS Disks

POST /virtual_machines/:virtual_machine_id/reboot

Reboot specified VS

Sections:

Response Parameters

 

An HTTP 201 response is returned on a successful reboot along with a virtual_machine object. Unsuccessful reboot responses include HTTP 404 (resource not found – e.g. if the VS isn't online) and HTTP 422 (request cannot be processed – for example, if parameters were incorrect).

 

JSON Request example

 

 curl -i -X POST -u user:userpass --url <api_url>/virtual_machines/:virtual_machine_id/reboot.json


XML Request example

 curl -i -X POST -u user:userpass --url <api_url>/virtual_machines/:virtual_machine_id/reboot.xml
  • No labels