---
title: "Configure an account's session configurations"
method: PUT
path: "/session_configurations"
tags: ["Session Configurations"]
---

# Configure an account's session configurations

`PUT /session_configurations`

Creates or updates session configurations for a PagerDuty Account. The configurations will take effect immediately for new sessions, while existing sessions for the specified `types` are immediately revoked.

Scoped OAuth requires: `session_configurations.write`

## Query parameters

- `type` 'mobile' | 'web', required

## Headers

- `Accept` string, required
- `Content-Type` 'application/json', required

## Request body

- object
  - `session_configuration` object, required
    - `absolute_session_ttl` integer, required — Absolute session time to live in seconds
    - `idle_session_ttl` integer, required — Idle session time to live in seconds

## Response `200`

Session Configurations updated successfully

- object
  - `session_configurations` object[], required
    - `type` 'mobile' | 'web', required — The session configuration type (mobile or web)
    - `absolute_session_ttl` integer, required — Absolute session time to live in seconds
    - `idle_session_ttl` integer, required — Idle session time to live in seconds

## Other responses

- `400` — Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will *not* work.
- `401` — Caller did not supply credentials or did not provide the correct credentials. If you are using an API key, it may be invalid or your Authorization header may be malformed.
- `403` — Caller is not authorized to view the requested resource. While your authentication is valid, the authenticated user or token does not have permission to perform this action.
- `429` — Too many requests have been made, the rate limit has been reached.

---

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