social / pragma.account / AccountService / deleteIdentityProviderAccountOperatorV1 /
deleteIdentityProviderAccountOperatorV1 #
suspend fun deleteIdentityProviderAccountOperatorV1(session: OperatorSession, request: AccountRpc.DeleteIdentityProviderAccountOperatorV1Request): AccountRpc.DeleteIdentityProviderAccountOperatorV1Response
Deletes an existing Identity Provider from an existing Pragma account. In the case of the Pragma account or id provider not existing, no error will be thrown.
Plugins
- AccountPlugin.onAccountUnlink - Called before a user unlinks their account from an existing identity provider
PragmaApplicationErrors
- AccountRpc.CannotDeleteOnlyLoginIdProviderApplicationError when trying to delete the last remaining id provider from an account.