Update Org Settings
PUT /org/settings
Rename the organisation, or set its auto-join email domain.
SETTING email_domain WIDENS WHO CAN JOIN. Anyone who signs up with an
address at that domain becomes a member without an invite. Admin-gated, and
the handler re-checks the caller’s org role on top.
The rename happens FIRST and against PropelAuth, so a rejected name aborts the whole update rather than half-applying it.
Authorizations
Parameters
Header Parameters
Request Body required
Mirrors campaign_builder.routers.org_settings.UpdateOrgSettingsRequest.
email_domain is the auto-join domain: anyone signing up with an address
at that domain joins THIS organisation without an invite. It is the widest
blast radius on this surface, which is why the route is admin-gated and the
handler re-checks the caller’s org role on top.
Responses
200
Successful Response
object
An open envelope for one settings block, document or brand artefact.
OPEN on purpose. These surfaces are configuration and generated content, and both grow: a new toggle on a settings block or a new field on a generated document must reach a caller on the day it ships, not on the day somebody remembers to widen a mirror. A closed response model here would silently DROP the new key, which reads to the caller as “the product does not have that setting”.
The request side is the opposite and is mirrored exactly - see the module docstring for why the asymmetry is deliberate.
object
422
Validation Error