| Field | Type | Required | Description |
|---|---|---|---|
name |
str | ✔️ | The display name of the connection |
provider |
models.Provider | ✔️ | The identity provider (e.g. saml_custom, oidc_custom) |
domains |
List[str] | ✔️ | Domains associated with the enterprise connection (required; at least one). Values are normalized to lowercase. Each domain must be a valid fully qualified domain name. |
organization_id |
OptionalNullable[str] | ➖ | Organization ID when the connection is linked to an organization |
active |
OptionalNullable[bool] | ➖ | Whether the enterprise connection is active. When true, IdP metadata must be provided via the saml object. |
saml |
OptionalNullable[models.CreateEnterpriseConnectionSaml] | ➖ | SAML connection-specific properties. Only applied when the enterprise connection uses SAML (e.g. provider is saml_custom). Use this to set IdP configuration, attribute mapping, and other SAML-specific settings at creation time. |
oidc |
OptionalNullable[models.Oidc] | ➖ | OIDC connection-specific properties. Only applied when the enterprise connection uses OIDC (e.g. provider is oidc_custom). |