---
title: "Create or update tenant or vendor default session configuration"
method: POST
path: "/resources/configurations/sessions/v1"
tags: ["Sessions management"]
---

# Create or update tenant or vendor default session configuration

`POST /resources/configurations/sessions/v1`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/configurations/sessions/v1`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/configurations/sessions/v1/post.ts> (a function with typed inputs; its response is checked against the schema)

This route creates or updates Session configuration for the entire environment or a specific tenant. To update the Session configuration for a specific tenant, send the tenant’s ID in the **`frontegg-tenant-id`** header

## Headers

- `frontegg-tenant-id` string

## Request body

- CreateSessionConfigurationRequest
  - `sessionIdleTimeoutConfiguration` SessionIdleTimeoutConfigurationDto
    - `isActive` boolean, required
    - `timeout` number, required
  - `sessionTimeoutConfiguration` SessionTimeoutConfigurationDto
    - `isActive` boolean, required
    - `timeout` number, required
  - `sessionConcurrentConfiguration` SessionConcurrentConfigurationDto
    - `isActive` boolean, required
    - `maxSessions` number, required

## Response `201`

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
