provider Sso PUT /v1/b2b/sso/saml/{organization_id}/connections/{connection_id}/url
@utdk/stytch /v1/b2b/sso/saml/{organization_id}/connections/{connection_id}/url
Updatebyurl
Used to update an existing SAML connection using an IDP metadata URL. A newly created connection will not become active until all the following are provided: * `idp_sso_url` * `idp_entity_id` * `x509_certificate` * `attribute_mapping` (must be supplied using [Update SAML Connection](update-saml-connection))
organization_id path required
Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug or organization_external_id here as a convenience.
string
connection_id path required
Globally unique UUID that identifies a specific SSO `connection_id` for a Member.
string
X-Stytch-Member-Session header
A Stytch session that can be used to run the request with the given member's permissions.
string
X-Stytch-Member-SessionJWT header
A Stytch Session JSON Web Token (JWT) that can be used to run the request with the given member's permissions.
string

Try it

Authentication
Configure credentials for Stytch API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

apiSsoV1SsoSamlUpdatebyurl
PUT/v1/b2b/sso/saml/{organization_id}/connections/{connection_id}/url
Used to update an existing SAML connection using an IDP metadata URL. A newly created connection will not become active until all the following are provided: * `idp_sso_url` * `idp_entity_id` * `x509_certificate` * `attribute_mapping` (must be supplied using [Update SAML Connection](update-saml-connection))

Parameters

required

Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug or organization_external_id here as a convenience.

required

Globally unique UUID that identifies a specific SSO `connection_id` for a Member.

Input

required

A URL that points to the IdP metadata. This will be provided by the IdP.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stytch from '@utdk/stytch';

await stytch.apiSsoV1SsoSamlUpdatebyurl()