You can just send the user json and only include the attributes you want to change.
----- Original Message -----
From: "Chamantha De Silva" <chamantha(a)outlook.com>
To: keycloak-user(a)lists.jboss.org
Sent: Thursday, 25 June, 2015 1:22:31 AM
Subject: [keycloak-user] Update the user only with required fields
Hi Team,
There are situations that we use update user rest API, to update just one
element of user (eg: enabled : false etc.) .
This requires a pre fetched user object from the GET user call, other wise
rest of the user information tend to be truncated after the update call.
Is there a possibility to update only specific elements of the user instead
of sending whole the user object (objective is to avoid the GET call right
before the update call and avoid possible tendency of data truncations )?
Your kind reply is highly appreciated.
Best regards,
Chamantha
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user