Get session policy
Retrieves the session policy for sessions logged into the library GUI, REST API, or any local Integrated Management Console (IMC).
Request syntax
GET
/v1/authentication/sessionPolicy
Retrieves the session policy for
sessions logged into the library.
Example
> GET /v1/authentication/sessionPolicy
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 45992
{
"autoLogout": null,
"autoIMCLogin": "enabled"
}
Attributes
autoLogout
(number)-
Number of minutes before a user is automatically logged out of the GUI or REST API. Can be
null
if disabled, in which case sessions are not tinned out.
autoIMCLogin
(string)-
Whether the local GUI user account is enabled to connect to the local IMC or not:
enabled
ordisabled
. For Diamondback, this isnull
as there is no IMC.