Description
Request URL
Compute API v2.0
POST /v2/{tenant_id}/servers/{server_id}/action
Request Paramters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | User Token | header | |
| tenant_id | URI | ||
| server_id | Server ID | plain |
Request Json
{
"os-start": null
}
Normal response codes
202
Example
curl -i -X POST \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
-d '{"os-start": null}' \
https://compute.tyo1.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45d/servers/997d6052-4b17-4500-8d41-c08fb9667aae/actionHTTP/1.1 204 No Content Date: Tue, 09 Dec 2014 03:37:00 GMT Server: Apache Content-Length: 0 Content-Type: application/json