Change a company's bookkeeping agent settings
Changed onHuman super-admin only (SUPER_ADMIN_USER_IDS). Enabling a company is refused unless it is on the deployment allowlist, and grants the agent its assignment for that company. initializeIfMissing: true creates a disabled settings row only if absent, requires explicit positive limits and an allowlisted, non-PHI-bounded company, and never grants an assignment or overwrites a row. A concurrent or existing row returns 409 AGENT_SETTINGS_ALREADY_CONFIGURED. PHI-bounded or unreadable companies are refused. One patient-data company is refused in code whatever the allowlist says: enabling it or setting phiRestricted: false for it gets 403 AGENT_PATIENT_DATA_COMPANY_REFUSED, and every agent request for it gets the same refusal. killSwitch: true stops the agent's next write. Mounted only when the deployment enables the bookkeeping agent (default off); otherwise 404. The shared cloud-bookkeeping service token gets 404 here.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
Response
Success envelope
Changes
- info
the
oneOf[#/components/schemas/BookkeepingAgentSettingsInitialize]/dailyBudgetMicrosrequest property's max was increased from100000.00to1000000.00 - info
the
oneOf[#/components/schemas/BookkeepingAgentSettingsPatch]/dailyBudgetMicrosrequest property's max was increased from100000.00to1000000.00
- info
- warning
the
oneOf[#/components/schemas/BookkeepingAgentSettingsInitialize]/dailyBudgetMicrosrequest property's max was set to100000.00
1 more change in this revision
- warning