deleteConnection
Deletes the specified SSO connection from the organization. Calls the DELETE /sdk/v1/b2b/sso/{connection_id} endpoint. Requires an active session.
Kotlin:
StytchB2B.sso.deleteConnection("saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0")Content copied to clipboard
iOS:
let response = try await StytchB2B.sso.deleteConnection("saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0")Content copied to clipboard
React Native:
StytchB2B.sso.deleteConnection("saml-connection-test-d5a3b680-e8a3-40c0-b815-ab79986666d0")Content copied to clipboard
Return
B2BDeleteSSOConnectionResponse confirming the deletion.
Parameters
connectionId
The ID of the SSO connection to delete.
Throws
StytchError
if the connection is not found or the request fails.
if the coroutine is cancelled.