Correlate account through API

Hello,

We have the need to correlate our account through API.
Indeed, we have hundreds of accounts not correlated because they are using non-standard correlation rule, and we would like to be able to do this correlation manually.

Is there any way to do it through API (and not through the import of csv file for every source) ?

Regards

Yes, you can use the PATCH /accounts/:id. And add the Identity ID of the identity you would like it correlated to.

curl -L -X PATCH 'https://sailpoint.api.identitynow.com/v3/accounts/:id' \
-H 'Content-Type: application/json-patch+json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '[
  {
    "op": "replace",
    "path": "/identityId",
    "value": "2c9180845d1edece015d27a975983e21"
  }
]'

update-account | SailPoint Developer Community

Hello,

Thanks a lot for your answer, i didn’t thought to verify this specific API call before posting my message.

We’ll implement it in our app and I will let you know, but this sounds good !

Regards.