Obtaining the settings information for session idle timeouts

Ops Center Common Services REST API Reference Guide

Version
10.9.x
File Size
533 KB
Audience
anonymous
Part Number
MK-99OPS003-06
You can obtain the settings information for session idle timeouts.

Execution permission

You must be a system administrator or a security administrator.

Request line

GET base-URL/security/v1/session-settings

Request message

Object ID
None.
Query parameters
None.
Body
None.

Response message

Body
{
    "idleTimeout":  1200
    "autoRefreshWithoutTimeout":  true
}

Attribute

Type

Description

idleTimeout

int

The idle timeout period (seconds)

autoRefreshWithoutTimeout

boolean

Whether a timeout occurs for windows that support automatic refresh.

  • true: Timeout does not occur.
  • false: Timeout occurs.

Coding example

curl -v -X GET -s "https://example.com:443/portal/security/v1/session-settings" -H "Authorization:Bearer eyJhbxxx"
Tip: Because this request uses SSL communication, you must either run the curl command with the root certificate of the Common Services server certificate specified for the --cacert option, or run the command with the -k option specified. (The -k option runs the command by ignoring SSL errors.)