I have tried setting the accountId field in the user instance to null and empty string using the PUT request. I’m trying to disassociate a user from an account. But the user instance retains the previous accountId. How do I set it to null using the REST API?
Solved
How to unset accountId for a user instance using the REST API?
Best answer by link_black
Hi
You cannot update the accountId attribute field with null or “”, so you will need to pass at least a single space character as shown in the screenshot below:

Happy PX-ing!
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.