Legacy Dev Forum Posts

 View Only

Sign Up

Is the logout redirect url region specific?

  • 1.  Is the logout redirect url region specific?

    Posted 06-05-2025 18:18

    kphung | 2021-02-09 22:17:15 UTC | #1

    Following this documentation, https://developer.mypurecloud.com/api/rest/authorization/, it says that to logout a user, you can redirect to the url, https://login.mypurecloud.com/logout. I am wondering if its region specific ? For example, do you need to change the mypurecloud.com to usw2.pure.cloud if user logged in is in a different region.

    Thanks


    tim.smith | 2021-02-09 22:23:14 UTC | #2

    I am wondering if its region specific ?

    It is.


    kphung | 2021-02-09 22:33:09 UTC | #3

    Is there a way to find out which region the user is in when the user logs in ? I don't see anything on the /api/v2/users/me.


    Jerome.Saint-Marc | 2021-02-10 13:40:05 UTC | #4

    Hello,

    If you are sending /api/v2/users/me, it means you know in which region you are.

    If you are using HTTP directly, then your request is function of the region of your Genesys Cloud org/user: https://api.mypurecloud.com/api/v2/users/me or https://api.mypurecloud.ie/api/v2/users/me or ...

    If you are using an SDK, you have set the environment when creating the client instance, which means you know the region.

    See here for the mapping (Region, AuthServer, API Server).

    Regards,


    system | 2021-03-13 13:40:06 UTC | #5

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


    This post was migrated from the old Developer Forum.

    ref: 9950