Logoff

LogOff Session

Invoke the RD Session Host to send the LogOff command to the session with specified ID.

POST/api/RDS/Host/{rdsId}/sessions/{id}/logoff
Path parameters
rdsId*integer (int32)

The ID of a RD Session Host server.

id*integer (int32)

Session ID of the Session to be Logged Off.

Response

No Content

Request
const response = await fetch('/api/RDS/Host/{rdsId}/sessions/{id}/logoff', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "status": 1,
  "detail": "text",
  "instance": "text",
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Was this helpful?