deleteConnection

abstract suspend fun deleteConnection(connectionId: String): SCIMDeleteConnectionResponse

Deletes an existing SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/delete-scim-connection delete-connection} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.

Return

SCIMDeleteConnectionResponse

Parameters

connectionId

the ID of the connection to be deleted


abstract fun deleteConnection(connectionId: String, callback: (SCIMDeleteConnectionResponse) -> Unit)

Deletes an existing SCIM connection. This method wraps the {@link https://stytch.com/docs/b2b/api/delete-scim-connection delete-connection} endpoint. The caller must have permission to modify SCIM via the project's RBAC policy & their role assignments.

Parameters

connectionId

the ID of the connection to be deleted

callback

a callback that receives a SCIMDeleteConnectionResponse