3.26.6. Reboot host

 
MethodURIDescription
GET/v2/{tenant_id}/os-hosts/{host_name}/reboot

Reboots a host.

Normal response codes: 200

 3.26.6.1. Request

This table shows the URI parameters for the reboot host request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

{host_name}

​String

The name of the host of interest to you.

This operation does not require a request body.

 3.26.6.2. Response

 

Example 3.227. Reboot host: JSON response

{
    "host": "066bf157ab50481d8c607cfe584b2230",
    "power_action": "reboot"
}

 

Example 3.228. Reboot host: XML response

<?xml version='1.0' encoding='UTF-8'?>
<host host="ce8c5f8cde4a46ffb01dec0788ad4dfc" power_action="reboot"/>

This operation does not return a response body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...