unlinkIdentity

abstract suspend fun unlinkIdentity(identityId: String, updateLocalUser: Boolean = true)(source)

Unlinks an OAuth Identity from an existing user.

Parameters

identityId

The id of the OAuth identity

updateLocalUser

Whether to delete the identity from the local user or not

Throws

or one of its subclasses if receiving an error response. If the error response contains a error code, an AuthRestException will be thrown which can be used to easier identify the problem.

HttpRequestTimeoutException

if the request timed out

on network related issues