Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Unable to remove email from userRecord

Open
#678 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start at the auth.update_user entry point and reproduce the difference between providers_to_delete=['password', 'google.com', 'apple.com', 'facebook.com'] and providers_to_delete=['phone'] on Firebase Admin SDK 6.0.1. Determine whether email removal is supported and identify the expected behavior or supported API path; done means the question is answered or the discrepancy is fixed and verified.

Written by the indexing model from the issue text.

Description

api: auth
  • Operating System version: Ubuntu 22.04
  • Firebase SDK version: (admin-sdk) 6.0.1
  • Firebase Product: auth
  • Python version: 3.10.6
  • Pip version: 22.3.1

unable to remove the email from userRecord using update_user
auth.update_user("xyz", providers_to_delete=['password', 'google.com', 'apple.com', 'facebook.com'])
It only removes the provider data and does not remove the email.

But using the above method, phone number can be removed. It removes both provider and the phone_number as well
auth.update_user("xyz", providers_to_delete=['phone'])

Is there no other way to remove/delete email from a userRecord?

Dominant language
Python
Stars
1.2k
Forks
359
Avg merge
5d 6m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from firebase/firebase-admin-python

All issues in firebase/firebase-admin-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.