Ethiack Docs
Organizations

Replace your federated-login IdP configuration (owner)

PUT
/v1/organizations/{organization_id}/sso/idp/self

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.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

organization_id*integer

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": {}
    }
  ]
}