By: Ezequiel Sandoval user 07 Feb 2017 at 11:31 a.m. CST

6 Responses
Ezequiel Sandoval gravatar
Hi Community, I am writing these lines in order to ask you if it is possible to do 'PATCH' method to modify user attributes over SCIM. This requirement appears because we need to 'add/remove' specific values from a multi-valued attribute. I saw in your SCIMClient code that you use the PUT method, but in this situation (if i need to add a new value to a multivalued attribute) i should get 'all the attribute values' and add the new value and then do the PUT method. I can not use the SCIMClient API on this implementation, and because of that is my questions. Any help would be appreciated. Regards,

By Shekhar L. staff 09 Feb 2017 at 12:15 p.m. CST

Shekhar L. gravatar
HI Ezequiel, I think you should have to add new value in request with 'add' operation

By Ezequiel Sandoval user 09 Feb 2017 at 12:20 p.m. CST

Ezequiel Sandoval gravatar
Hey, do you have an http example in order to try it please?

By Shekhar L. staff 09 Feb 2017 at 12:28 p.m. CST

Shekhar L. gravatar
Hi Ezequiel, We had testcases in SCIM-CLIENT for patches, you can take a look on that.

By Michael Schwartz Account Admin 11 Feb 2017 at 4:19 p.m. CST

Michael Schwartz gravatar
Shekhar, can you provide the link to github? thx, Mike

By Shekhar L. staff 11 Feb 2017 at 11:48 p.m. CST

Shekhar L. gravatar
Hi Ezequiel, Please take a look on link for testcases. https://github.com/GluuFederation/SCIM-Client/blob/master/src/test/java/gluu/scim2/client/UserPatchWebServiceTestCases.java Thanks & Regards, Shekhar L.

By Ezequiel Sandoval user 14 Feb 2017 at 7:02 a.m. CST

Ezequiel Sandoval gravatar
Thanks for the example! is what i was looking for!!! regards,