Restart Sessions

Restart Sessions

Restarts machine of user sessions. The machine must be managed by Virtual Center and the session cannot be an application or an RDS desktop session.

Request
URI
POST
https://{api_host}//localhost/rest/inventory/v1/sessions/action/restart
COPY
Request Body

List of session ids to be restarted.

Array of string of type(s) application/json
Optional
[
    {}
]
Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "error_messages": [
            "Entity does not exists.",
            "Property is mandatory."
        ],
        "id": "6f85b3a5-e7d0-4ad6-a1e3-37168dd1ed51",
        "status_code": 200,
        "timestamp": 1561939200000
    }
]

400

Bad Request

Operation doesn't return any data structure

401

User is not authenticated

Operation doesn't return any data structure