# Delete Identity on the Beta API showing a 500

**URL:** <https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801>\
**Category:** SHF Discussion and Questions\
**Tags:** apis, sailpoint-identity-security\
**Created:** [May 16, 2024, 8:07pm UTC](https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801 "2024-05-16T20:07:17Z")\
**Posts on this page:** 8\
**Page:** 1

<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 16, 2024, 8:07pm UTC](https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801/1 "2024-05-16T20:07:17Z")

</div>

When I try to Delete the Identity thru the Beta API I get a 500?  
I pull the Identity up fine with a GET Command 200 ?  
Why the 500? It wont allow me to delete in the tenant either?

 ![Screenshot 2024-05-16 160826](https://global.discourse-cdn.com/sailpoint/original/2X/8/86af376d363f5a301d3cccf54fe23fbdbacdd099.png)  
 ![Screenshot 2024-05-16 160933](https://global.discourse-cdn.com/sailpoint/original/2X/8/857f759b2d88fc34d3177ad0154db883afec83e6.png)

---

<div class="post-metadata">

**Author:** ![GOKUL\_ANANTH\_M](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/gokul_ananth_m/32/14416_2.png) [@GOKUL\_ANANTH\_M](https://developer.sailpoint.com/discuss/u/GOKUL_ANANTH_M)\
**Post date:** [May 16, 2024, 8:39pm UTC](https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801/2 "2024-05-16T20:39:51Z")

</div>

Try to use the url given below

> {{baseUrl}}/beta/identities/:id

If this works, then while using beta api, add “/beta” on baseUrl in your postman’s environment configuration.

Also, use “/v3” when using v3 api’s.

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 17, 2024, 2:01pm UTC](https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801/3 "2024-05-17T14:01:14Z")

</div>

Thanks but that was a no go.

---

<div class="post-metadata">

**Author:** ![VasanthRam](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/vasanthram/32/11764_2.png) [@VasanthRam](https://developer.sailpoint.com/discuss/u/VasanthRam)\
**Post date:** [June 1, 2024, 6:08am UTC](https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801/4 "2024-06-01T06:08:28Z")

</div>

Hi @TJ21

1.Ensure that your endpoint is valid and is formatted in a perfect way  
2.Make sure your access token has the privilege to perform the delete operation of the identity.(Check the scope of the access token).  
3.Ensure the headers and params of the api request is valid

If all the api request configs are perfect then i guess it should have to be some error on the server side.

Regards

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [June 18, 2024, 5:47pm UTC](https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801/5 "2024-06-18T17:47:00Z")

</div>

Is the identity the owner of any objects in your tenant, like sources, roles, access profiles, etc.? I believe that could be a reason why the delete isn’t working.

---

<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:** [June 18, 2024, 5:55pm UTC](https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801/6 "2024-06-18T17:55:07Z")

</div>

Thanks Colin this was resolved already.

---

<div class="post-metadata">

**Author:** ![colin\_mckibben](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/colin_mckibben/32/37182_2.png) [@colin\_mckibben](https://developer.sailpoint.com/discuss/u/colin_mckibben)\
**Post date:** [June 18, 2024, 5:58pm UTC](https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801/7 "2024-06-18T17:58:04Z")

</div>

Glad to hear it. How did you resolve it?

---

<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 17, 2024, 5:58pm UTC](https://developer.sailpoint.com/discuss/t/delete-identity-on-the-beta-api-showing-a-500/56801/8 "2024-08-17T17:58:46Z")

</div>

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