3.1.12. Reset server state

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

Resets the state of a server to a specified state.

Normal response codes: 202

 3.1.12.1. Request

This table shows the URI parameters for the reset server state 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.23. Reset server state: JSON request

{
    "os-resetState": {
        "state": "active"
    }
}

 

Example 3.24. Reset server state: XML request

<?xml version="1.0" encoding="UTF-8"?>
    <os-resetState>
        <state>active</state>
    </os-resetState>

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