Logout users using API

Hi,

I am using below code to logout users

const client = platformClient.ApiClient.instance
const tokensApiInstance = new platformClient.TokensApi()
tokensApiInstance.deleteToken(user.id)

The users are being logged out. But GenesysCloud is automatically logging users back in immediately

Hi Praveen_Palnati,

I found some similar posts relating to your question, you can check out these two following previous posts for documentations and resources to logout users via API. Hope it helps. Also this forum is for customers to ask questions, if you are a Genesys employee, please ask questions in the corresponding chat room.

Thanks

Thanks for the links.
To share some more details, I have created a NodeJS app to logout all users in a division.

I'll reach out internally.
Thanks!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.