Remove a value from multiValued Account Attribute

Hi,

I’m trying to remove a value from an multi values account attribute. How can achieve this.
For example, I have “Test_Group“, “Knowledge Administrator”, “"Account Reader” as list of values.

when I use below payload, It completely removes all the values.

```[

{

    "op": "remove",

    "path": "/attributes/groups/-",

    "value": \[

        "Test_Group"

    \]

}

]

Hi @chandramohan27,

Please try using op as “replace” instead of “remove” and provide the desired value under the value key.

So you are saying to just have the desired values in the payload?

It will difficult to get those values everytime and then remove the value requested for revoke and replace with desired values.

Instead, I’m looking for some API that just removed the value requested for revoke

Are you using ISC APIs to update an account attribute ?

Yes, this is for delimited source

I don’t believe that’s possible. According to the documentation, you can remove a value from an array, but the remove operation requires specifying the exact index of the element to be removed. If you want to remove a specific value without relying on its index, you’ll need to use the replace operation and provide the updated array containing only the desired values.