social / pragma.account / AccountService / deleteIdentityProviderAccountServiceV1 /
deleteIdentityProviderAccountServiceV1 #
suspend fun deleteIdentityProviderAccountServiceV1(serviceSession: ServiceSession, request: AccountRpc.DeleteIdentityProviderAccountServiceV1Request): AccountRpc.DeleteIdentityProviderAccountServiceV1Response
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.