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.

Responses
204

Session expiration updated successfully.

400

Bad request.

Schema OPTIONAL
error string OPTIONAL

Error message.

401

Unauthorized access.

Schema OPTIONAL
error string OPTIONAL

Error message.

403

Forbidden action.

Schema OPTIONAL
error string OPTIONAL

Error message.

404

Session not found.

Schema OPTIONAL
error string OPTIONAL

Error message.

500

Internal server error.

Schema OPTIONAL
error string OPTIONAL

Error message.