Hi All,
I have a problem in SailPoint API (Update Lifecycle state), please read the result as below:
123.txt (773 Bytes)
My question is how can I update the body script if I want to add multiple sources id from the API.
Thank you.
Please take reference of the body part of the API as below:
{
"op": "replace",
"path": "/description",
"value": "New description"
}
Hi,
You can replace multiple sourceIds in one single call for Update Lifecycle State
API call.
For example,
[
{
"op": "replace",
"path": "/accountActions",
"value": [
{
"action": "DISABLE",
"sourceIds": [
"06ebf041dd424c698ce04813a0a39e54", // Existing source ID
"2c9180846a2f82fb016a481c1b1560cc", // New Source ID
"2c9180846a2f82fb016a481c1b1560c5" // New Source ID
]
}
]
}
]
2 Likes
Hi Zeel,
Thank you for your answer. It works!!!
2 Likes
system
(system)
Closed
5
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.