# Enable/DIsable Account API issue

**URL:** <https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security, apis\
**Created:** [February 12, 2025, 6:50am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745 "2025-02-12T06:50:58Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![pr226b](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@pr226b](https://developer.sailpoint.com/discuss/u/pr226b)\
**Post date:** [February 12, 2025, 6:50am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/1 "2025-02-12T06:50:59Z")

</div>

Hi Team,

I’m trying to hit the Enable/DIsable account APIs but recieving error.

Below is my curl.

```auto
curl --location 'https://{mycompany}.api.identitynow.com/v3/accounts/a05630s0b5bfb422aa95cc56b32c8b9d/enable' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
  "externalVerificationId": "3f9180835d2e5168015d32f890ca1581",
  "forceProvisioning": true
}'

```

Getting this Response:

```auto
{
    "detailCode": "500.0 Internal fault",
    "trackingId": "ea80385dbd8f416aad91f3443bfb0be0",
    "messages": [
        {
            "locale": "en-US",
            "localeOrigin": "DEFAULT",
            "text": "An internal fault occurred."
        },
        {
            "locale": "und",
            "localeOrigin": "REQUEST",
            "text": "An internal fault occurred."
        }
    ],
    "causes": []
}

```

Appreciate any insights.

---

<div class="post-metadata">

**Author:** ![Abhinov7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/abhinov7/32/13253_2.png) [@Abhinov7](https://developer.sailpoint.com/discuss/u/Abhinov7)\
**Post date:** [February 12, 2025, 7:38am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/2 "2025-02-12T07:38:36Z")

</div>

Hi,

Can you try from tenant once? I think there is an issue going on with enable and disable.

When I tried to disable account in sandbox tenant I got below.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/7/1/719e5dc8c274be149e5e9ffbf8f44f40e0ceb01e.png)

-Abhinov

---

<div class="post-metadata">

**Author:** ![pr226b](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@pr226b](https://developer.sailpoint.com/discuss/u/pr226b)\
**Post date:** [February 12, 2025, 8:00am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/3 "2025-02-12T08:00:37Z")

</div>

Hi,

Getting the same issue when I do it through UI in Sandbox.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/e/1/e1e493d474ad883631a4837336c190c7b58bbbe2.png)  
Thanks.

---

<div class="post-metadata">

**Author:** ![Abhinov7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/abhinov7/32/13253_2.png) [@Abhinov7](https://developer.sailpoint.com/discuss/u/Abhinov7)\
**Post date:** [February 12, 2025, 8:05am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/4 "2025-02-12T08:05:03Z")

</div>

Hi,

Yes, I think there is some issue internally.

Lets try after some time.

-Abhinov

---

<div class="post-metadata">

**Author:** ![Abhinov7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/abhinov7/32/13253_2.png) [@Abhinov7](https://developer.sailpoint.com/discuss/u/Abhinov7)\
**Post date:** [February 13, 2025, 7:57am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/5 "2025-02-13T07:57:13Z")

</div>

Hey,

Looks like issue solved now.

Can you try API now?

-Abhinov

---

<div class="post-metadata">

**Author:** ![Garate](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@Garate](https://developer.sailpoint.com/discuss/u/Garate)\
**Post date:** [February 27, 2025, 3:26am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/6 "2025-02-27T03:26:07Z")

</div>

Hey Abhinov, I am getting the same error as above. Was there a solution to this?

---

<div class="post-metadata">

**Author:** ![Abhinov7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/abhinov7/32/13253_2.png) [@Abhinov7](https://developer.sailpoint.com/discuss/u/Abhinov7)\
**Post date:** [February 27, 2025, 3:55am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/7 "2025-02-27T03:55:08Z")

</div>

Hi,

I think this is from sailpoint side only and it resolved. What issue you are facing exactly?

-Abhinov

---

<div class="post-metadata">

**Author:** ![Garate](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@Garate](https://developer.sailpoint.com/discuss/u/Garate)\
**Post date:** [February 27, 2025, 4:06am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/8 "2025-02-27T04:06:16Z")

</div>

I’m getting the error message below when I try disable user via API.

{  
“detailCode”: “500.0 Internal fault”,  
“trackingId”: “17f2b4db950e4559832d5e10ab85f686”,  
“messages”: [  
{  
“locale”: “en-US”,  
“localeOrigin”: “DEFAULT”,  
“text”: “An internal fault occurred.”  
},  
{  
“locale”: “en-US”,  
“localeOrigin”: “REQUEST”,  
“text”: “An internal fault occurred.”  
}  
],  
“causes”:   
}

---

<div class="post-metadata">

**Author:** ![Garate](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@Garate](https://developer.sailpoint.com/discuss/u/Garate)\
**Post date:** [March 5, 2025, 2:22am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/9 "2025-03-05T02:22:56Z")

</div>

Hello,

I’m still having this issue above, is this an issue on my end?

---

<div class="post-metadata">

**Author:** ![kdfreeman](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kdfreeman/32/22737_2.png) [@kdfreeman](https://developer.sailpoint.com/discuss/u/kdfreeman)\
**Post date:** [March 5, 2025, 5:40am UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/10 "2025-03-05T05:40:24Z")

</div>

I was not having issue when I was disabling bulk account via python script. It was working fine. Maybe your configuration/code have some issues internally?

---

<div class="post-metadata">

**Author:** ![kirkkenton](https://avatars.discourse-cdn.com/v4/letter/k/71e660/32.png) [@kirkkenton](https://developer.sailpoint.com/discuss/u/kirkkenton)\
**Post date:** [March 6, 2025, 5:04pm UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/11 "2025-03-06T17:04:34Z")

</div>

I’m also having an issue and am researching now before i open a case. I think this is a bug. I can submit a request to disable an account via the api and get a 202 accepted and the task id returned to my script. in SailPoint Account Activity the request is there but as a Failure. So the API request does go through but something on the sailpoint end is failing. Disabling accounts in UI does work.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/3/5/3525ed8df32558579e27811859c4d1d6874d7083.png)

---

<div class="post-metadata">

**Author:** ![kirkkenton](https://avatars.discourse-cdn.com/v4/letter/k/71e660/32.png) [@kirkkenton](https://developer.sailpoint.com/discuss/u/kirkkenton)\
**Post date:** [March 6, 2025, 5:13pm UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/12 "2025-03-06T17:13:26Z")

</div>

LITERALLY JUST FIGURED IT OUT AFTER POSTING THE ABOVE!!!  
So, using the documentation as my guide and what I can submit via postman, i was sending the request with a body like the documents show with externalVerificationId and forceProvisioning. I tried with various values as it says “if set” in the documenation for each so I sent empty strings for the first and all kinds of iterations of each. Turns out you do need the body but don’t need any content. So i just tried with an empty body and it worked.  
I’m using powershell so my body was:

```auto
$body = @"
{
}
"@

```

I hope this helps others! I was up late last night trying so many things and fixed it in 5 minutes this morning!

---

<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:** [May 5, 2025, 5:14pm UTC](https://developer.sailpoint.com/discuss/t/enable-disable-account-api-issue/100745/13 "2025-05-05T17:14:19Z")

</div>

Closed on May 5, 2025, 5:14pm UTC

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