Replace your federated-login IdP configuration (owner)
Update the owner's template in place -- new metadata, rotated secret.
The template id is preserved, so the customer's ACS URL stays valid.
Deliberately not entitlement-gated: this repairs an existing, possibly SSO-mandated login path, and members of an SSO-mandated organization hold no password. Gating repair on a lapsed plan would turn a billing gap into a lockout. The paywall is on establish, where the connection is created.
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://api.ethiack.com/v1/organizations/0/sso/idp/self" \ -H "Content-Type: application/json" \ -d '{ "protocol": "oidc", "name": "string", "issuer": "string", "client_id": "string", "client_secret": "string", "scopes": [ "string" ] }'{
"zitadel_idp_id": "string",
"protocol": "oidc",
"acs_url": "string",
"sp_metadata_url": "string",
"certificate_url": "string",
"slo_url": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Read an organization's federated-login connection GET
Read the connection. Visible to a platform admin and to the organization's owner. **Includes the per-template SAML endpoints**, which the customer has to paste into their own IdP and which used to be returned only by the admin-only `POST|PUT .../sso/idp`.
Set an organization's federated-login policy (owner) PUT
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. Arming with unlinked members answers 409; link them first.