Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Authenticated User

ListMyUserSessions

POST
/auth/v1/users/me/sessions/_search

Request Body

application/json
  1. body

This is an empty request

Response Body

Success

application/json
  1. response
result?array<>
Example Request
curl -X POST 'https://example.com/auth/v1/users/me/sessions/_search' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "result": [    {      "sessionId": "string",      "agentId": "string",      "authState": "SESSION_STATE_UNSPECIFIED",      "userId": "string",      "userName": "string",      "loginName": "string",      "displayName": "string",      "details": {        "sequence": 0,        "creationDate": "2023-01-15T01:30:15.01Z",        "changeDate": "2023-01-15T01:30:15.01Z",        "resourceOwner": "string"      },      "avatarUrl": "string"    }  ]}

Was this page helpful?