Does this body work? Is locale an attribute?
{
"username": "username",
"enabled": true,
"emailVerified": true,
"email": "email",
"disableableCredentialTypes": ["password"],
"credentials": [{
"value": "pass123",
"type": "password"
}],
"attributes": {
"company": ["company"],
"locale": ["fr"]
}
}
Regards,
Geoffrey Cleaves
On Mon, 12 Nov 2018 at 12:37, David F <mad_style42(a)hotmail.com> wrote:
Hi,
I use the doc to update my profile with REST API
PUT /{realm}/users/{id}
but if I want to change the locale value ("en", "fr"...), it's
impossible.
I have this response "Unrecognized field "locale" (class
org.keycloak.representations.idm.UserRepresentation), not marked as
ignorable" because in my body object I use "locale" key for "en"
value for
example.
I don't see in the doc how send my new locale value in my body object.
Thanks for your help 😊
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user