Skip to content

List sessions

GET
/v1/session/

Return all active sessions for the current user.

cursor
string

The pagination cursor value.

page_size
integer

Number of results to return per page.

search
string

A search term.

object
next
string format: uri
nullable
Example
http://api.example.org/accounts/?cursor=cD00ODY%3D"
previous
string format: uri
nullable
Example
http://api.example.org/accounts/?cursor=cj0xJnA9NDg3
results
required
Array<object>

A ModelSerializer that takes an additional fields argument that controls which fields should be displayed.

object
id
required
string format: uuid
user
required
string format: uuid
nullable
user_agent
required
string
nullable
device
required
string
nullable
ip
required
string
nullable
updated_at
required
string format: date-time
location
required
string
nullable