Skip to main content
PATCH
C#

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the session to update.

Body

session_metadata
object | null

Metadata associated with the session. Pass null or {} to remove all session_metadata.

Response

Session successfully updated.

id
string

The ID of the session

user_id
string

ID of the user which can be used when interacting with other APIs.

created_at

The date and time when the session was created

updated_at

The date and time when the session was created

authenticated_at

The date and time when the session was created

idle_expires_at

The date and time when the session was created

expires_at

The date and time when the session was created

last_interacted_at

The date and time when the session was created

device
object

Metadata related to the device used in the session

clients
object[]

List of client details for the session

authentication
object

Details about authentication signals obtained during the login flow

[Private Early Access] Session cookie configuration.

session_metadata
object | null

Metadata associated with the session, in the form of an object with string values (max 255 chars). Maximum of 25 metadata properties allowed.