E014: Update organization
PATCH /api/organizations/current
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.
Authentication
Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Owner.
Request
{
"name": "Acme Co.",
"billingAddress": "...",
"branding": { "logoUrl": "https://...", "primaryColor": "#123456" }
}
All fields optional; only present fields are updated. Branding fields are stored on organization_settings (see L2 OrganizationSettings).
Response — 200 OK
{
"organization": { "id": "uuid", "name": "...", "slug": "...", "billingAddress": "...", "branding": { ... } }
}
Errors
| HTTP | code | Condition |
|---|---|---|
| 422 | validation_failed | Field shape checks failed. |
| 403 | forbidden | Caller is not the org owner. |
Workflow
Calls W014 Update organization.