---
title: "Get Max User Session Timeout policy."
method: GET
path: "/v1/policies/maxUserSessionTimeout"
tags: ["policiesManagement"]
---

# Get Max User Session Timeout policy.

`GET /v1/policies/maxUserSessionTimeout`

Get 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](https://help.sumologic.com/Manage/Security/Set_a_Maximum_Web_Session_Timeout)

## Response `200`

The Max User Session Timeout policy.

- MaxUserSessionTimeoutPolicy — Max User Session Timeout policy.
  - `maxUserSessionTimeout` string, 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`

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/e4e4c7554890/schema)
