3.26.5. Shut down host

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

Shuts down a host.

Normal response codes: 200

 3.26.5.1. Request

This table shows the URI parameters for the shut down 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.5.2. Response

 

Example 3.225. Shut down host: JSON response

{
    "host": "d2576862a2144ee6ad37d9e1938460a2",
    "power_action": "shutdown"
}

 

Example 3.226. Shut down host: XML response

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

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...