Forum Discussion

stevensullivan's avatar
10 years ago

Change language value

I would like to be able to update a users language preference. I am able to view the preference here:   {community url}/restapi/vc/users/id/{user id}/profiles/?profile.language   But im having tr...
  • PaoloT's avatar
    10 years ago

    Hi stevensullivan

     

    have you tried ( I am using user self as an example but you can choose another one as in your call as well)

     

    https://<community>/restapi/vc/users/self/profiles/name/language

    to read the value and 

     

    https://<community>/restapi/vc/users/self/profiles/name/language/set?value=YY

    to set it? I think for the latter call you need to do an HTTP POST and also pass an appropriate authentication token

     

    Hope it helps,