How to remove a value of multi-valued SCIM 2.0 sub-attribute?

I have a complex SCIM attribute that looks like follows:

"myattr1": {
  "subattr1": 5,
  "subattr2": [1, 2, 3]
}

I want to modify this to become

"myattr1": {
  "subattr1": 5,
  "subattr2": [1, 3]
}

How can I do this using PATCH ? Should I replace the entire sub-attribute or can I just remove the value 2 from it using PATCH ?

I know how to do this with multi-valued attributes. But I don't know how to do it for sub-attributes.



from Recent Questions - Stack Overflow https://ift.tt/33z7Z1j
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation