Virtual Machine

Hard reboot virtual machine

Initiates a hard reboot for a virtual machine, simulating the process of unplugging and rebooting a physical machine. Provide the virtual machine ID in the path to execute a hard reboot for the specified virtual machine.

State requirement: This operation requires the VM to be in the ACTIVE or ERROR state.

get/core/virtual-machines/{vm_id}/hard-reboot

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/core/virtual-machines/{vm_id}/hard-reboot
  • Auth: API key in header api_key

Path parameters

vm_idinteger required

ID of the vm.

Response

Hard reboot process has been successfully initiated.

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

Example response

{
  "status": true,
  "message": "Instance is being deleted."
}

Changes

No recorded changes to this operation across all 1 revision of this API.