[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vrs-appliance-config-api

Get Current Session

Description

Returns information about the current session, if any.

Request

Request

URL

URL


get
https://{api_host}//session
Copy

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns SessionInfo of type application/json

Returns information about the currently authenticated session.

{
	"username": "string"
}
string
username Optional
Errors

Errors

ResponseError
400

Bad request - the server could not understand the request due to invalid syntax or invalid request body content


ResponseError
500

Internal server error - unexpected condition prevents fulfilling the request

Code Samples

Code Samples

cURL Command

curl https://{api_host}/session


[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vrs-appliance-config-api
Feedback

Was this page helpful?