• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
FusionAuth
  • Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login

Users Api Update preferredLanguages

Scheduled Pinned Locked Moved Unsolved
Q&A
3
4
2.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    nlunn
    last edited by 18 Jan 2023, 00:57

    Is it possible to remove a preferred language and replace it with a new one using the the users api or ruby client?

    Currently on update if the user chooses to update their language it will add that language to the list of preferred languages as opposed to replacing.

    D R 2 Replies Last reply 24 Jan 2023, 03:56 Reply Quote 0
    • R
      ramyar.jahani14256 @nlunn
      last edited by 24 Jan 2023, 03:56

      @nlunn Currently on update if the user chooses to update their language it will add that language to the list of preferred languages as opposed to.

      1 Reply Last reply Reply Quote 0
      • D
        dan @nlunn
        last edited by 26 Jan 2023, 18:27

        @nlunn Yes, you should be able to do this using one of the newer patch methods. These are unfortunately not available in the client libraries (yet), but can be used with an HTTP request.

        More details here: https://fusionauth.io/docs/v1/tech/apis/#the-patch-http-method

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        N 1 Reply Last reply 23 Apr 2024, 18:28 Reply Quote 0
        • N
          nlunn @dan
          last edited by 23 Apr 2024, 18:28

          @dan thank you guys for quick response, it took me 15 months to take a look... any chance it has been added to client libraries?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post