Can't delete uncorrelated account from source

I am attempting to use the delete accounts api and it returns the below error code. The employee who the account belonged to is not longer with the organization and the account no longer exists but the JDBC source is holding onto the account. We need to get it removed so it doesn’t show up in certifications.

{
    "detailCode": "400.1 Bad request content",
    "trackingId": "aea8374f8c5d47109773cd5aa32b0ac9",
    "messages": [
        {
            "locale": "und",
            "localeOrigin": "REQUEST",
            "text": "The request was syntactically correct but its content is semantically invalid."
        },
        {
            "locale": "en-US",
            "localeOrigin": "DEFAULT",
            "text": "The request was syntactically correct but its content is semantically invalid."
        }
    ],
    "causes": []
}

With wich tool to test account deletion ?

It’s work perfectly for me.

Postman, Powershell and the new option on the API page

Hi Joseph!

I can’t say exactly what the issue could be without seeing the request that is being sent, but here are some suggestions:

  1. Confirm the accountId you are trying to delete exists by searching for it on /accounts/:id

  2. Confirm you are not sending a body with this API request. This endpoint does not require a body, just the accountID in the URL. The error could mean you are including a body in your request that is not expected.

  3. Instead of trying to delete the account, you could try an unoptimized aggregation. If the account is no longer on the source, this should delete it from IDN.

Please let me know if this helps!

  • Zach
  1. Confirmed that the accountId does exist.
  2. Nothing is in the body of the request.
  3. Have run a few unoptimized aggregations and the accounts still show up.

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

The delete-account | SailPoint Developer Community API only works on delimited file sources. There is a replacement being made available for the private api /api/account/remove that will be available end of March. Please see this topic for updates on when that endpoint is available. This new endpoint should work to remove any account for any source type.