class StytchB2B::SSO::SAML
def update_by_url(
== Method Options:
The type of this field is nilable +SAMLConnection+ (+object+).
The `SAML Connection` object affected by this API call. See the [SAML Connection Object](https://stytch.com/docs/b2b/api/saml-connection-object) for complete response field details.
connection::
The type of this field is +Integer+.
The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.
status_code::
The type of this field is +String+.
Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.
request_id::
An object with the following fields:
== Returns:
The type of this field is +String+.
A URL that points to the IdP metadata. This will be provided by the IdP.
metadata_url::
The type of this field is +String+.
Globally unique UUID that identifies a specific SSO `connection_id` for a Member.
connection_id::
The type of this field is +String+.
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.
organization_id::
== Parameters:
/%}
* `attribute_mapping` (must be supplied using [Update SAML Connection](update-saml-connection))
* `x509_certificate`
* `idp_entity_id`
* `idp_sso_url`
A newly created connection will not become active until all the following are provided:
Used to update an existing SAML connection using an IDP metadata URL.
def update_by_url( organization_id:, connection_id:, metadata_url:, method_options: nil ) headers = {} headers = headers.merge(method_options.to_headers) unless method_options.nil? request = { metadata_url: metadata_url } put_request("/v1/b2b/sso/saml/#{organization_id}/connections/#{connection_id}/url", request, headers) end