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
[
{
“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

