Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Mass Edit Roles

    Posted 10-31-2019 04:51
    Hi all!

    I am looking into ways of bulk changing roles for a group of people on a monthly basis.

    I am aware of this
    "When you update existing users with a .csv import, PureCloud adds roles but does not replace or remove them."

    from
    https://help.mypurecloud.com/articles/add-people-csv-file-import/

    May I know if there are any work around to this? Adding roles to users is easy, but removing them has to be done one by one.

    Please help!

    Thanks!
    Boey
    #PlatformAdministration
    #SystemAdministration
    #Unsure/Other

    ------------------------------
    Jin Huey Boey
    ITApps Sdn Bhd
    ------------------------------


  • 2.  RE: Mass Edit Roles

    GENESYS
    Posted 10-31-2019 11:23
    One way would be to create an app that uses the API:

    You can remove users from a role: https://developer.mypurecloud.com/api/rest/v2/authorization/#put-api-v2-authorization-roles--roleId--users-remove
    Add users to a role: https://developer.mypurecloud.com/api/rest/v2/authorization/#put-api-v2-authorization-roles--roleId--users-add

    Remove roles from a User: https://developer.mypurecloud.com/api/rest/v2/authorization/#delete-api-v2-users--userId--roles
    Add roles to a User: https://developer.mypurecloud.com/api/rest/v2/authorization/#put-api-v2-users--userId--roles

    ------------------------------
    George Ganahl GCP (PureCloud) ICCE
    Principal Technology Consultant
    Genesys
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources