Session Manager Terminate Session
Log off and terminate the provided list of sessions.
This method is only transactional for each session ID. The set of sessions are terminated sequentially, as specified in the list. If a failure occurs, for example, because of an unknown sessionID, the method aborts with an exception. When the method aborts, any sessions that have not yet been terminated are left in their unterminated state.
Required privileges: Sessions.TerminateSession
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case SessionManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
Show optional properties
{
"sessionId": [
{}
]
}
{
"sessionId": [
"string"
]
}
A list of sessions to terminate.
No Content
NotFound: if a sessionId could not be found as a valid logged-on session.
InvalidArgument: if a sessionId matches the current session. Use the logout method to terminate the current session.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}