Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

GET method for SessionConfiguration

Description
This method adds the ability to configure the inactivity (not active sessions) timeout interval and the maximum number of sessions that are enabled per session type. When these properties are changed, the properties of the current active sessions are not terminated or modified.
Privilege
VIEW, SECURITY_SETUP
HTTP response codes
200
Example response body
 {
    "@odata.context": "/api/$metadata#Collection(SessionService.SessionConfiguration)",
    "@odata.count": 5,
    "value": [
        {
            "@odata.type": "#SessionService.SessionConfiguration",
            "SessionType": "GUI",
            "MaxSessions": 6,
            "SessionTimeout": 1800000,
            "MinSessionTimeout": 60000,
            "MaxSessionTimeout": 7200000,
            "MinSessionsAllowed": 1,
            "MaxSessionsAllowed": 6,
            "MaxSessionsConfigurable": true,
            "SessionTimeoutConfigurable": true
        },
        {
            "@odata.type": "#SessionService.SessionConfiguration",
            "SessionType": "API",
            "MaxSessions": 100,
            "SessionTimeout": 1800000,
            "MinSessionTimeout": 60000,
            "MaxSessionTimeout": 86400000,
            "MinSessionsAllowed": 1,
            "MaxSessionsAllowed": 100,
            "MaxSessionsConfigurable": true,
            "SessionTimeoutConfigurable": true
        },
        {
            "@odata.type": "#SessionService.SessionConfiguration",
            "SessionType": "UniversalTimeout",
            "MaxSessions": 0,
            "SessionTimeout": -1,
            "MinSessionTimeout": -1,
            "MaxSessionTimeout": 86400000,
            "MinSessionsAllowed": 0,
            "MaxSessionsAllowed": 0,
            "MaxSessionsConfigurable": false,
            "SessionTimeoutConfigurable": true
        },
        {
            "@odata.type": "#SessionService.SessionConfiguration",
            "SessionType": "Serial",
            "MaxSessions": 1,
            "SessionTimeout": 1800000,
            "MinSessionTimeout": 60000,
            "MaxSessionTimeout": 86400000,
            "MinSessionsAllowed": 1,
            "MaxSessionsAllowed": 1,
            "MaxSessionsConfigurable": false,
            "SessionTimeoutConfigurable": true
        },
        {
            "@odata.type": "#SessionService.SessionConfiguration",
            "SessionType": "SSH",
            "MaxSessions": 4,
            "SessionTimeout": 1800000,
            "MinSessionTimeout": 60000,
            "MaxSessionTimeout": 10800000,
            "MinSessionsAllowed": 1,
            "MaxSessionsAllowed": 4,
            "MaxSessionsConfigurable": true,
            "SessionTimeoutConfigurable": true
        }
    ]
}

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\