appliance techpreview services: restart

start or restart a service

Request:

HTTP request

POST https://{server}/rest/appliance/techpreview/services/restart

Request Body Structure:

{
    "name""string",
    "timeout"1
}
<?xml version="1.0" ?>
<ns0:Restart-Input xmlns:ns0="http://vmware.com/appliance/techpreview/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <name>string</name>
  <timeout>1</timeout>
</ns0:Restart-Input>

Request Body Parameters:

Name Type Description
bold = required
name string Name of the service to start or restart.
timeout long Timeout in seconds. Zero (0) means no timeout.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error Generic error