policiesManagement

Set Max User Session Timeout policy.

Set the Max User Session Timeout policy. When enabled, this policy sets the maximum web session timeout users are able to configure within their user preferences. Users preferences will be updated to match this value only if their current preference is set to a higher value. Learn More

put/v1/policies/maxUserSessionTimeout

Request

  • Base URL
    https://api.au.sumologic.com/api
  • URL
    https://api.au.sumologic.com/api/v1/policies/maxUserSessionTimeout
  • Auth
    HTTP basic

Request body

maxUserSessionTimeoutstring required

Maximum web session timeout users are able to configure within their user preferences. Valid values are: 5m, 15m, 30m, 1h, 2h, 6h, 12h, 1d, 2d, 3d, 5d, or 7d

Example request

{
  "maxUserSessionTimeout": "1d"
}

Response

Max User Session Timeout policy was set successfully.

maxUserSessionTimeoutstring required

Maximum web session timeout users are able to configure within their user preferences. Valid values are: 5m, 15m, 30m, 1h, 2h, 6h, 12h, 1d, 2d, 3d, 5d, or 7d

Example response

{
  "maxUserSessionTimeout": "1d"
}

Changes

No recorded changes to this operation across all 15 revisions of this API.