Hi Nik,
Yes.
Since the UserUpdateRequest class the C# SDK defines has all of the other attributes, setting null on this field causes the PATCH call to fail. ( the instance of UserUpdateRequest would contain the other fields when the SDK serializes the request.)
Using the HttpClient works since there I am able to use a class containing only the field i’m trying to unset.
the downside here is that, now i need to take care of another piece of code that makes http requests to the management API and alongside with it all other details such as retry logic, rating limit backoff logic.
Not ideal but it works.
After my project gets to production and stabilizes, i will take a carefull look at the SDK implementation and , i am able to propose something usefull on this matter i will send a PR to the repo on github.
Thank you.