Sessions
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
GET /me/sessions HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"userId": "123e4567-e89b-12d3-a456-426614174000",
"tokenId": "123e4567-e89b-12d3-a456-426614174000",
"ip": "text",
"userAgent": "text",
"country": "text",
"region": "text",
"city": "text",
"createdAt": "2025-12-16T22:33:09.557Z",
"updatedAt": "2025-12-16T22:33:09.557Z"
}
]GET /me/sessions/{tokenId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"userId": "123e4567-e89b-12d3-a456-426614174000",
"tokenId": "123e4567-e89b-12d3-a456-426614174000",
"ip": "text",
"userAgent": "text",
"country": "text",
"region": "text",
"city": "text",
"createdAt": "2025-12-16T22:33:09.557Z",
"updatedAt": "2025-12-16T22:33:09.557Z"
}DELETE /me/sessions/{tokenId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*