Arm or disarm just-in-time provisioning (owner)
Arm or disarm minting accounts on a first federated login.
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/provisioning" \ -H "Content-Type: application/json" \ -d '{ "provision_on_first_login": true, "provisioned_role": "owner" }'{
"login_slug": "string",
"zitadel_idp_id": "string",
"enabled": true,
"require_sso": true,
"provision_on_first_login": true,
"provisioned_role": "owner",
"verified_at": "2019-08-24T14:15:22Z",
"protocol": "saml",
"acs_url": "string",
"sp_metadata_url": "string",
"certificate_url": "string",
"slo_url": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}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.
Read the verdict of a configuration test (owner) POST
Redeem the ceremony's intent and report what a member's login would hit. Authenticates nobody -- no session, no account, no IdP link. Writes one thing, and only on a pass: `verified_at` / `verified_template_id`, which is what `require_sso` is gated on. An intent naming a template other than this connection's is refused rather than reported, so a redeemable intent obtained elsewhere cannot make a broken connection look tested.