Snapservice. Sessions Delete
Terminates the validity of a session token. This is the equivalent of log out.
A session token is expected as part of the request.
This operation was added in vSphere API 9.0.0.0.
Success!
if the session id is missing from the request or the corresponding session object cannot be found.
"Vapi.Std.Errors.Unauthenticated Object"
if session deletion fails due to server specific issues, for example connection to a back end component is failing. Due to the security nature of this API further details will not be disclosed in the error. Please refer to component health information, administrative logs and product specific documentation for possible causes.
"Vapi.Std.Errors.ServiceUnavailable Object"
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/snapservice/sessions