social / pragma.account / AccountService / deleteIdentityProviderAccountPartnerV1 /
deleteIdentityProviderAccountPartnerV1 #
suspend fun deleteIdentityProviderAccountPartnerV1(partnerSession: PartnerSession, request: AccountRpc.DeleteIdentityProviderAccountPartnerV1Request): AccountRpc.DeleteIdentityProviderAccountPartnerV1Response
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.