Team we are trying to delete sources added in enable and disable part using following patch “update LCS” and payload is :
[
{
“op”: “replace”,
“path”: “/accountActions”,
“value”: [
{
“action”: “ENABLE”,
“sourceIds”: [
“”,
“”
]
},
{
“action”: “DISABLE”,
“sourceIds”: [
“”
]
}
]
}
]
we are getting 400 bad request and unable to trace what went out wrong
Hi @shaffusailpoint,
Try this,
[
{
"op": "replace",
"path": "/accountActions",
"value": [
{
"action": "ENABLE",
"sourceIds": [
"",
""
]
},
{
"action": "DISABLE",
"sourceIds": [
"",
""
]
}
]
}
]
Hope this helps!
we already tried this and not worked, I just missed adding that bracket in question
I tried it just now, its working for me
Could you please verify this in your header,
Also, check if you are providing the right source IDs, identity profile ID, and the LCS ID.
Thanks!
[
{
“op”: “remove”,
“path”: “/accountActions”
}
] it worked , try this since u need to remove all sources from the account actions right
Thank you! remove some of them only hence we tried replace
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

