Danniel_Cioti | 2020-11-11 03:08:04 UTC | #1
I need to delete some users and I would like to delete in bulk. I can erase with Postman, but only one at a time. How can I do it in bulk? Has anyone done?
anon28885283 | 2020-11-11 04:28:28 UTC | #2
Hi Danniel,
There's currently no bulk deletion through the API. You can request new features here: https://purecloud.ideas.aha.io/
In your case since you're using Postman, you might want to look at configuring a Collection Runner. That way you can set a data file which will contain userIds you want to delete and just let the runner iterate over them.
Danniel_Cioti | 2020-11-11 19:08:22 UTC | #3
OK .. Should the files with the IDs be separated by line? per ,?
Thanks!
anon28885283 | 2020-11-13 05:46:47 UTC | #4
Hi Danniel,
Yes it should be in CSV form. So if you're only going to do IDs then the file would look something like:
employeeID
xxx-xxx-xxx
yyy-yyy-yyy
...
and use the employeeID as a variable in the request itself.
By the way, I just noticed the Genesys tag - the developer forums is mainly for customers, partners. For employees, we recommend using internal channels or processes.
system | 2020-12-14 05:24:47 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: 9277