Good question. I believe this is due to how we implemented our PATCH calls. If you are making a straight API call, you can change the Content-Type header to application/merge-patch+json which will instead overwrite the existing array with whatever you have provided. That's the most straightforward way to replace array values. There are other methods detailed in the doc below but those involve removing values one by one instead of just overwriting them. The downside here is that I don't believe Client Libraries usually support the merge-patch header.
https://fusionauth.io/docs/apis/#the-patch-http-method-
0
Votes2
Posts1
Views -
0
Votes2
Posts1
Views -
0
Votes2
Posts2
Views -
Solved Airgapped License Still Connecting to reactor.fusionauth.io – Can It Be Disabled?
self hosted • • wesley0
Votes2
Posts3
Views -
0
Votes2
Posts2
Views -
0
Votes2
Posts4
Views -
Solved How to Handle CAPTCHA and Rate Limits for Automated Testing in FusionAuth
rate limiting • • wesley0
Votes2
Posts2
Views -
0
Votes2
Posts3
Views -
Solved How to Find Your Reactor License ID and Use It with Kickstart in FusionAuth
self hosted • • wesley0
Votes2
Posts5
Views -
Solved How to Authenticate a Local React App with FusionAuth Hosted on Azure Without Cross-Origin Cookie Issues
• • wesley0
Votes2
Posts7
Views -
0
Votes2
Posts2
Views -
0
Votes2
Posts1
Views -
0
Votes2
Posts3
Views -
0
Votes2
Posts6
Views -
0
Votes2
Posts2
Views -
0
Votes2
Posts2
Views -
0
Votes2
Posts1
Views -
0
Votes2
Posts1
Views -
0
Votes2
Posts3
Views -
0
Votes2
Posts3
Views