Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  People Directory Bulk Export

    Posted 08-30-2023 11:29
    No replies, thread closed.

    Hello. I hope this is an easy one for someone. Is there a way to export in bulk from Genesys Cloud People Directory into a .csv file? I'm trying to create a postman collection run to bulk delete inactive users but before I can do that I extract the list from Genesys for the data. Any help would be greatly appreciated.


    #SystemAdministration

    ------------------------------
    Reuben Goodwin
    Health Alliance Plan
    ------------------------------


  • 2.  RE: People Directory Bulk Export

    Posted 08-31-2023 06:00
    No replies, thread closed.

    Hi Reuben,

    First thing that comes to mind is to use get /api/v2/users?pageSize=100&pageNumber=1&state=inactive to get a list of all inactive users, and then use the IDs from that result for the delete action.



    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------



  • 3.  RE: People Directory Bulk Export

    Posted 09-01-2023 07:46
    No replies, thread closed.

    I actually got a similar request today and ended up trying Genesys CLI which does make exports quite easy.

    I could use the following command to export all inactive users to a JSON, which I then imported to an Excel sheet

    gc --profile profilename users list --state inactive --autopaginate > .\export.json


    ------------------------------
    Jan Heinonen
    Contact Center Specialist
    GlobalConnect AB
    ------------------------------