Method | URI | Description |
---|---|---|
GET | /v2/{tenant_id}/os-hosts/{host_name}/shutdown | Shuts down a host. |
Normal response codes: 200
This table shows the URI parameters for the shut down host request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
| String | The name of the host of interest to you. |
This operation does not require a request body.
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.