Delete identities in Bulk

Hi all,

I am looking for the best way to delete identities in bulk in IIQ.

  1. Code?
  2. Batch?
  3. Any other?

Thanks in advance

@rishavghoshacc Best way to delete any object is via IIQ Console. It takes care of clearing out all other references in the tables as well.

Hi @rishavghoshacc ,

Can you share more about your usecase. The recommended approach is to delete them from console

Yes we used console to delete identities which takes care of all dependencies.

@neel193 Can I delete bulk identities through console?

@RAKRHEEM Need to delete identities in bulk

You can write a script and run from console.

Create a txt file with command: delete Identity “id of the identity” one entry per line. like this:

delete Identity <id of the identity1>
delete Identity <id of the identity2>
delete Identity <id of the identity3>

Then save it in “iiq project”/WEB-INF/bin/ (or any other path).

login to iiq console → run source FullFilePath.txt (if it is in bin just use the filename).

1.Open the IIQ console and run the following command:

> source

This command will read and execute every line of the CSV file, then delete the identities.

2. You can also delete bulk identities from the rule task. Please check the below post from community

https://community.sailpoint.com/t5/IdentityIQ-Wiki/Run-rule-task-With-custom-input-and-return-values/ta-p/82497

I think using the IIQ console approach can improve performance but feel free use which ever makes best for you.