3.1.3. Suspend server

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

Suspends a server and changes its status to SUSPENDED.

Normal response codes: 202

 3.1.3.1. Request

This table shows the URI parameters for the suspend 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.5. Suspend server: JSON request

{
    "suspend": null
}

 

Example 3.6. Suspend server: XML request

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

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