Method | URI | Description |
---|---|---|
POST | /v2/{tenant_id}/servers/{server_id}/action | Evacuates a server from failed host. |
Normal response codes: 200
This table shows the URI parameters for the evacuate server request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
| UUID | The UUID for the server of interest to you. |
Example 3.25. Evacuate server: JSON request
{ "evacuate": { "host": "TargetHost", "adminPass": "MySecretPass", "onSharedStorage": "True" } }
Example 3.26. Evacuate server: XML request
<?xml version="1.0" encoding="UTF-8"?> <evacuate xmlns="http://docs.openstack.org/compute/api/v2" host="TargetHost" adminPass="MySecretPass" onSharedStorage="True"/>
This operation does not require a request body.