Updates the AI settings of an office the same way the admin portal does. Settings that are omitted are left unchanged. Unlike JSON Merge Patch, an explicit null does not clear a setting:
every setting is a boolean or a fixed choice with no cleared state, so null is rejected with a 400, as is a request that sets nothing or lists a PII type that is not supported. A 422 answers a valid request that breaks a rule: it enables AI training for a customer with compliance requirements (BAA), changes anything but PII redaction while AI is disabled for the company,
enables AI for an office that does not support it, or sets PII redaction on an office without PII redaction settings. The caller must be a company admin, an admin of the office, or have write access to AI settings for the office; a company-level API key can also update any office of its company.
Example request body: {"enable_ai": true, "announce_ai": true,
"announce_auto_start_ai_direction": "inbound_only", "default_auto_start": false}
Rate limit: 1200 per minute.