W014: Update organization
Edits any combination of organization identity (name, slug) and org-level settings (branding, billing address, logo) in a single round-trip. Triggered from the Organization page.
Steps
-
Update identity fields if present. If the patch includes a name or slug, call
Platform.updateOrganization. -
Upsert settings if present. If the patch touches any settings field (including
logoUrl), callOrganizationSettings.upsertwith just those fields.logoUrlis a plain string the frontend obtained from its own storage upload viaE014— no Documents-row indirection.
Returns
The merged organization-plus-settings view the page renders.
Business rules
- Owner or admin only. Authorization is enforced at the request boundary; the workflow trusts
ctx.userId.
Errors
ValidationError. Slug collision on update.