Set an organization's federated-login policy (owner)
Set whether federated login is served and whether it is mandatory.
The body is total, so this replaces the policy rather than patching it. The write interlocks are pre-flighted by the service and answer 400: enabling a connection no admin has pointed anywhere, and mandating SSO on one that is not served -- the latter an organization-wide lockout, because members of an SSO-mandated organization hold no password. The CHECK constraints behind them remain the floor, but reaching one would surface as an unmapped 500.
Turning require_sso on adds one more precondition, enforced by the workflow because it needs Zitadel: every member must already be linked to the IdP, or the mandate would lock the unlinked ones out on their next request. Arming with unlinked members answers 409; link them first.
Args: organization_id (int): The parent organization. payload (SsoPolicyRequest): The policy fields to change. db (AsyncSession): Request-scoped session. context (ActiveContext): Resolved caller.
Returns: SsoConnectionResponse: The connection as it now stands.
Request
- Base URLhttps://api.ethiack.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.