Legacy Dev Forum Posts

 View Only

Sign Up

Force logout users using API

  • 1.  Force logout users using API

    Posted 06-05-2025 18:24

    puneeth | 2023-02-02 08:36:33 UTC | #1

    Hi,

    We would like to force log out users, from a campaign and the Genesys platform, after business hours. When user's do not log out, any campaign attached to them is still running. This causes an issue with contact list updates. Could you please provide an API endpoint or a process that could help us achieve the aforementioned?

    Regards, Puneeth


    Eos_Rios | 2023-02-02 13:16:54 UTC | #2

    Based on the documentation here, DELETE /api/v2/tokens/{userId} should work.


    Dewald_Smit | 2023-02-02 18:49:22 UTC | #3

    You could always look at this Org setting: https://help.mypurecloud.com/articles/set-an-automatic-inactivity-timeout/


    John_Carnell | 2023-02-06 13:34:06 UTC | #4


    This post was migrated from the old Developer Forum.

    ref: 18234