Virtual Machine
Start virtual machine
Initiates the startup of a virtual machine. Supply the virtual machine ID in the path to initiate the starting of the specified virtual machine.
State requirement: This operation requires the VM to be in the SHUTOFF state. Calls against a VM in any other state return 400 with error_reason: bad_request.
get/core/virtual-machines/{vm_id}/start
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/core/virtual-machines/{vm_id}/start
- Auth: API key in header api_key
Path parameters
vm_idinteger required
ID of the vm.
Response
Virtual machine started successfully.
Example response
{
"status": true,
"message": "Instance is being deleted."
}Changes
No recorded changes to this operation across all 1 revision of this API.