class StytchB2B::SSO
def delete_connection(
== Method Options:
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+.
The `connection_id` that was deleted as part of the delete request.
connection_id::
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+.
The ID of the SSO connection. Both SAML and OIDC connection IDs can be provided.
connection_id::
The type of this field is +String+.
The organization ID that the SSO connection belongs to.
organization_id::
== Parameters:
Delete an existing SSO connection. /%}
def delete_connection( organization_id:, connection_id:, method_options: nil ) headers = {} headers = headers.merge(method_options.to_headers) unless method_options.nil? delete_request("/v1/b2b/sso/#{organization_id}/connections/#{connection_id}", headers) end