Endpoint: PUT /v1/sessions/{session_id}

This endpoint updates the details of a specific session based on the provided session_id.

Path Parameters

session_id
string
required

The unique ID of the session to update.

Parameters

user_id
string
required

The ID of the user associated with the session.

metadata
object
required

Optional metadata associated with the session.

Response Parameters

active
boolean

Indicates if the session is currently active.

session_id
string

The unique identifier of the session.

_id
string

The internal ID of the session in the database.

user_id
string

The ID of the user associated with the session.

created_at
string

The timestamp when the session was created.