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