Company -- Update AI Settings

Updates the company-level AI settings, and syncs the change to the enterprise the same way the admin portal does. Settings that are omitted are left unchanged. Unlike a JSON Merge Patch,
where null clears a property, an explicit null is rejected with a 400: both settings are booleans with no cleared state, so null has no meaning for them. A request that sets nothing is also rejected with a 400. The response has the updated settings. A company-level API key can call this without a user credential. Any other caller must be a company admin, the admin of a single-office company, or have write access to AI settings: a missing user credential gets a 401, and any other caller gets a 403.

Rate limit: 1200 per minute.

Body Params
boolean

Whether the company allows its data to be used to train AI models. Leave it out to keep the current value. It cannot be null.

boolean

Whether Call AI is enabled for the company. Leave it out to keep the current value. It cannot be null.

Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json