# Is there a way to bulk delete Identities?

**URL:** <https://developer.sailpoint.com/discuss/t/is-there-a-way-to-bulk-delete-identities/57958>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security\
**Created:** [May 24, 2024, 8:20pm UTC](https://developer.sailpoint.com/discuss/t/is-there-a-way-to-bulk-delete-identities/57958 "2024-05-24T20:20:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gespinosac](https://avatars.discourse-cdn.com/v4/letter/g/d26b3c/32.png) [@gespinosac](https://developer.sailpoint.com/discuss/u/gespinosac)\
**Post date:** [May 24, 2024, 8:20pm UTC](https://developer.sailpoint.com/discuss/t/is-there-a-way-to-bulk-delete-identities/57958/1 "2024-05-24T20:20:09Z")

</div>

The authoritative source connector has been already deployed and after that I needed to add a filter for the account aggregation task. Now, I need to delete about 500 identities cubes related to that filter, is there a way to bulk delete all these Identities?

---

<div class="post-metadata">

**Author:** ![girishkms1](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/girishkms1/32/10956_2.png) [@girishkms1](https://developer.sailpoint.com/discuss/u/girishkms1)\
**Post date:** [May 24, 2024, 11:45pm UTC](https://developer.sailpoint.com/discuss/t/is-there-a-way-to-bulk-delete-identities/57958/2 "2024-05-24T23:45:44Z")

</div>

Hello @gespinosac  
you should try to delete the authoritative source account using Delete Account API.  
That should delete the identity as well.

Thanks

---

<div class="post-metadata">

**Author:** ![TJ21](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/tj21/32/8407_2.png) [@TJ21](https://developer.sailpoint.com/discuss/u/TJ21)\
**Post date:** [May 24, 2024, 11:47pm UTC](https://developer.sailpoint.com/discuss/t/is-there-a-way-to-bulk-delete-identities/57958/3 "2024-05-24T23:47:35Z")

</div>

> [@Bulk delete identities without checking the "Disable Account Deletion"](https://developer.sailpoint.com/discuss/t/bulk-delete-identities-without-checking-the-disable-account-deletion/8461):
>
> Sometimes the systems we connect to may require us to retain old identities when they no longer are coming in from the endpoint during an aggregation. This can be due to a “delta” flat-file which only has recent users (in case of a simple flat-file connector) or when the REST API used for aggregation only gets the recent users, say going back a year. In such cases if “Disable Account Deletion” is checked, it will delete the users not in the recent aggregation, which is not ideal. Unchecking th…

---

<div class="post-metadata">

**Author:** ![ashutosh08](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/ashutosh08/32/11459_2.png) [@ashutosh08](https://developer.sailpoint.com/discuss/u/ashutosh08)\
**Post date:** [May 25, 2024, 7:23am UTC](https://developer.sailpoint.com/discuss/t/is-there-a-way-to-bulk-delete-identities/57958/4 "2024-05-25T07:23:13Z")

</div>

Hi @gespinosac,

Welcome to SailPoint Developer community.

You can delete identity by following one of the below processes:

1. You can use the configuration at your source to delete the account if it is not coming from target and then in turn it will remove identity via Identity Profile. Screenshot for source delete configuration is given below.

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/3/38bb99de17f859d0f7c01abda07218759512141e.png)

1. You can also delete the identity from Identity List page, there you can select the identity that you want to delete and then from action you can delete these identities.

2. For temporary basis you may use Beta - API to delete identity. Document reference is given below.

> **[delete-identity | SailPoint Developer Community](https://developer.sailpoint.com/docs/api/beta/delete-identity)**
>
> Delete identity

Thanks

---

<div class="post-metadata">

**Author:** ![JyothiAtikes](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@JyothiAtikes](https://developer.sailpoint.com/discuss/u/JyothiAtikes)\
**Post date:** [May 25, 2024, 10:31am UTC](https://developer.sailpoint.com/discuss/t/is-there-a-way-to-bulk-delete-identities/57958/5 "2024-05-25T10:31:15Z")

</div>

Hi @gespinosac ,

Have you tried using a search filter to identify and delete the identities? You can leverage SailPoint’s search functionality to filter and then bulk delete the identities.

---

<div class="post-metadata">

**Author:** ![amitvibhute](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@amitvibhute](https://developer.sailpoint.com/discuss/u/amitvibhute)\
**Post date:** [June 14, 2024, 3:27pm UTC](https://developer.sailpoint.com/discuss/t/is-there-a-way-to-bulk-delete-identities/57958/6 "2024-06-14T15:27:32Z")

</div>

We have a similar requirement to delete 30000 identities. I have tried testing the DELETE IDENTITY Beta API but that API only deletes the identity, it shows “Remove account”, “Remove Role” & “Remove Entitlements” events in the access history but when I check the actual Active Directory account of that user, the entitlements are not removed. Will this be achieved if I use the Delete Account API to delete the Auth. Source account ? will it remove the entitlements first & then delete the Identity in IDN ? Or is there any better way to achieve this ?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [August 13, 2024, 3:28pm UTC](https://developer.sailpoint.com/discuss/t/is-there-a-way-to-bulk-delete-identities/57958/7 "2024-08-13T15:28:16Z")

</div>

Closed on August 13, 2024, 3:28pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
