clerk.update_enterprise_connection
Update an enterprise SSO connection in a connected Clerk application.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the updated enterprise_connection summary.
Cost = 8 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated display name for the connection. | |
| oidc | No | Updated OIDC client configuration. | |
| saml | No | Updated SAML IdP configuration. | |
| active | No | Whether the connection is active. | |
| domains | No | Updated domain list (replaces existing domains when provided). | |
| connection_id | Yes | Clerk enterprise connection id (entc_...) to retrieve, update, delete, or test. | |
| organization_id | No | Clerk organization id (org_...) to link to this connection. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. | |
| custom_attributes | No | Updated custom attribute mappings. | |
| sync_user_attributes | No | Whether to sync user attributes on each sign-in. | |
| allow_organization_account_linking | No | Whether account linking via organization membership is allowed. | |
| disable_additional_identifications | No | Whether to block additional identifications for this connection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enterprise_connection | No | Updated enterprise SSO connection. |