Organizations API doesn't provide full functionality
The Organizations API allows us to update an organization but certain fields we aren't able to retrieve the orginal values for to make sure that when we do inadvertantly update thier values from their current to the default value.
For example, the Get Organization endpoint (
Note that it doesn't provide a value for
Now, when calling the Update Organization endpoint, which allows me to set a value for
For example, the Get Organization endpoint (
GET /api/v1/organization) will return this:Note that it doesn't provide a value for
is_allow_registrationsNow, when calling the Update Organization endpoint, which allows me to set a value for
is_allow_registrations, I have no way to provide the current value making sure it doesn't default. This is particularly impossible with the .Net SDK because the model / arguments for this update function doesn't allow passing in null values for is_allow_registrations which might indicate during a PATCH operation to not update that particular field. So, essentially in .Net, any call to the UPDATE endpoint will set the value of is_allow_registrations in every case, so I must provide the current value to make sure I don't overwrite it.