Method | URI | Description |
---|---|---|
POST | /v2/{tenant_id}/servers/{server_id}/action | Reboots the specified server.
Specify the |
Normal response codes: 202
Error response codes: computeFault (400, 500, …), serviceUnavailable (503), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), itemNotFound (404), badMediaType (415), HTTPUnprocessableEntity (422), buildInProgress (409)
This table shows the URI parameters for the reboot server request:
Name | Type | Description |
---|---|---|
| UUID | The tenant ID in a multi-tenancy cloud. |
| UUID | The UUID for the server. |
Example 2.28. Reboot server: XML request
<?xml version="1.0" encoding="UTF-8"?> <reboot xmlns="http://docs.openstack.org/compute/api/v1.1" type="SOFT"/>