Update organization
Updates an organization's name, settings or security options. Requires org:manage and an active Gold or Black subscription, except a body that sets only allow_staff_impersonation and/or mfa_required, which is accepted whatever the plan. settings is replaced wholesale, not merged: whatever object you send becomes the entire settings object, so any key you omit is deleted. Read the current organization first and send the merged result. name and allow_staff_impersonation are normal field updates, and omitting a field leaves it untouched. mfa_required is a sign-in policy with its own rules: changing it needs an interactive browser session (an org API token answers 403, and the AI surfaces do not accept the field at all), it is refused to an Elaichi support session, turning it off needs step-up reauthentication in the app (428 step_up_required), and turning it on answers 409 mfa_setup_required when the caller's own session would fail the check; see can_require_mfa on the response. A change is recorded in the organization.updated audit entry, with the old and new value in its mfa_required metadata. slug, plan and region cannot be changed here.
Request
- Base URL: https://api.elaichi.ai
- URL: https://api.elaichi.ai/organization/{id}
- Auth: HTTP bearer
Path parameters
Organization id (org_…).
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.