Skip to main content
Version: v1.0.0(int)

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

  1. Update identity fields if present. If the patch includes a name or slug, call Platform.updateOrganization.

  2. Upsert settings if present. If the patch touches any settings field (including logoUrl), call OrganizationSettings.upsert with just those fields. logoUrl is a plain string the frontend obtained from its own storage upload via E014 — 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.