Version 4.0.26.20

> [!NOTE]
> **Note:** These docs are for an older version of the API. The API reference is also available for [the latest version, 4.0.26.22](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest).

### Update session config.

## Request

PATCH /session_config Datatype Description Request HTTP Request body HTTP Body Expand HTTP Body definition... body [SessionConfig](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.20/types/SessionConfig) Session Config Expand SessionConfig definition... can object Operations the current user is able to perform on this object allow_persistent_sessions boolean Allow users to have persistent sessions when they login session_minutes integer Number of minutes for user sessions. Must be between 5 and 43200 unlimited_sessions_per_user boolean Allow users to have an unbounded number of concurrent sessions (otherwise, users will be limited to only one session at a time). use_inactivity_based_logout boolean Enforce session logout for sessions that are inactive for 15 minutes. track_session_location boolean Track location of session when user logs in.

## Response

### 200: Session Config

Datatype Description (object) [SessionConfig](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.20/types/SessionConfig) can object Operations the current user is able to perform on this object allow_persistent_sessions boolean Allow users to have persistent sessions when they login session_minutes integer Number of minutes for user sessions. Must be between 5 and 43200 unlimited_sessions_per_user boolean Allow users to have an unbounded number of concurrent sessions (otherwise, users will be limited to only one session at a time). use_inactivity_based_logout boolean Enforce session logout for sessions that are inactive for 15 minutes. track_session_location boolean Track location of session when user logs in.

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.20/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.20/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.20/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.20/types/ValidationErrorDetail)\[\] Expand ValidationErrorDetail definition... field string Field with error code string Error code message string Error info message documentation_url string Documentation link documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.20/types/Error) message string Error details documentation_url string Documentation link