Session terminated, session.token.removed events missing in event search API
Hi team, I am looking to get active sessions of a user from events storage. I am using the API https://zitadel.com/docs/apis/resources/admin/admin-service-list-events.
Here is the body that I am using to send the request ,
I am finding the session and session.added event types , but could not find any session.terminated, session_logout.executed, session.token.removed event types.
Here is a sample response :
Could you please help me if I am missing anything or if there is anything I have to do more to get desired response.
I am using my bearer token as the Auth header.
3 Replies
Hi team, any update on this? 🙂
??
Hey @Ramsai! Thanks for reaching out and my apologies for the delay in response! I'll loop in an engineer to take a look at this and get back to you ASAP :gigipixel:
hi @Ramsai let me look into this and will get back to you
hi @Ramsai , events API requires the user to have certain Manager Role, did you try sending the request from different users just to check the response?