3.1.5. Migrate server

 
MethodURIDescription
POST/v2/{tenant_id}/servers/{server_id}/action

Migrates a server to a host. The scheduler chooses the host.

Normal response codes: 202

 3.1.5.1. Request

This table shows the URI parameters for the migrate server request:

NameTypeDescription

{tenant_id}

​String

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

{server_id}

​U​U​ID

The UUID for the server of interest to you.

 

Example 3.9. Migrate server: JSON request

{
    "migrate": null
}

 

Example 3.10. Migrate server: xml request

<?xml version="1.0" encoding="UTF-8"?>
    <migrate />

This operation does not require a request body.

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


loading table of contents...