How do I delete users in bulk?
314 Views 1 Helpful

Question

How do I delete users in bulk?

Product

  • Profile Management (IDS)
  • Registration-as-a-Service (RaaS)

Details

Gigya's API currently and the Gigya Console only supports individual deletion of users from the database, based on the UID value, detailed in the knowledge article How can I delete a user from the Gigya database?[1]

Answer

There are two supported methods for deleting user accounts in bulk from the database

  1. The method provided in knowledge article How can I delete a user from the Gigya database?[1] can be expanded using accounts.search[2] to script the process.
    1. Run a search using accounts.search[2]
    2. Using the results provided in step one, loop through each record calling one of the below methods passing the UID to delete the account
      • socialize.deleteAccount[3]
      • ids.deleteAccount[4] (requires "Profile Management" activation)
      • accounts.deleteAccount[5] (requires "Registration-as-a-Service" activation)
  2. Core ETL, can be used to run a query against the database and loop through the account found removing the record. A template to setup an ETL job for deleting records can be found in the knowledge article How do I use IdentitySync to delete accounts?[6]

Links

[1]: https://gigya--c.na87.visual.force.com/a6H400000004D3GEAU
[2]: https://developers.gigya.com/display/GD/accounts.search+REST
[3]: http://developers.gigya.com/display/GD/socialize.deleteAccount+REST
[4]: http://developers.gigya.com/display/GD/ids.deleteAccount+REST
[5]: http://developers.gigya.com/display/GD/accounts.deleteAccount+REST
[6]: https://gigya--c.na87.visual.force.com/a6H1W000000sKNsUAM

Was this article helpful?