3.33.1. Rescue server

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

Puts a server in rescue mode. Changes status to RESCUE.

Normal response codes: 200

 3.33.1.1. Request

This table shows the URI parameters for the rescue 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.285. Rescue server: JSON request

{
    "rescue": {
        "adminPass": "MySecretPass"
    }
}

 

Example 3.286. Rescue server: XML request

<?xml version="1.0" encoding="UTF-8"?>
<rescue xmlns="http://docs.openstack.org/compute/api/v1.1"
    adminPass="MySecretPass"/>

This operation does not require a request body.

 3.33.1.2. Response

 

Example 3.287. Rescue server: JSON response

{
    "adminPass": "MySecretPass"
}

 

Example 3.288. Rescue server: XML response

<?xml version='1.0' encoding='UTF-8'?>
<adminPass>MySecretPass</adminPass>

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