intercom / intercom-dotnet

Intercom API client library for .NET
https://developers.intercom.io/reference
Apache License 2.0
63 stars 53 forks source link

Unable to remove a company when updating a user #92

Closed juliancarrivick closed 6 years ago

juliancarrivick commented 6 years ago

Rather than using the UsersClient.RemoveCompanyFromUser method, I would like to remove the company when performing a user update as described here.

I would expect that setting the remove flag on a company that is in the company list of a user would do this, however the remove flag does not get passed into the generated JSON as seen here

kmossco commented 6 years ago

Thank you for reporting this @juliancarrivick! That definitely needs to be fixed. Do you want to cook up a PR for this? Otherwise I can try and get it sorted as soon as possible. 👍

juliancarrivick commented 6 years ago

@kmossco I should be able to get a pull request in :)