Skip to main content

Update Session Expiration

Updates the expiration time of a session.

Path Parameters
session_id string REQUIRED

The ID of the session.

Query Parameters
ttl_seconds integer REQUIRED

New TTL (in seconds) for the session.

Request Body
data object REQUIRED
ttl_seconds integer REQUIRED
Responses
204

Session expiration updated successfully.

default

Default Response

Schema OPTIONAL
ok Ok OPTIONAL

Indicates if the request was successful or not.

errors object[]

List of errors

type uri

Possible values: 1 ≤ length ≤ 2083

A string containing a URI reference that identifies the problem type.

status Status

Possible values: 399 < value < 600

A number indicating the HTTP status code.

title Title

Possible values: 5 ≤ length

A string containing a short, human-readable summary of the problem type.

detail Detail

Possible values: 5 ≤ length

A string containing a human-readable explanation specific to this occurrence of the problem.

instance Instance

Possible values: 1 ≤ length

A string containing a URI reference that identifies the specific occurrence of the problem.

error_code Error Code

A Number that indicates the error type that occurred.