1

I've been googling around, reading the google cloud platform docs but can't find the answer to bulk deleting users from the Identity Platform.

We have a dev application that we use for testing. We want to remove all authenticated users and start fresh. See below the image where I multi select and get no option to delete all the users.

Identity Platform Multi user management

I've searched for gcloud cli commands to do this but with no luck, the documentation on this functionality is not well surfaced.

I would be happy with answers to:

  • Bulk delete through the G cloud UI
  • Delete ALL authenticated users through gcloud cli
  • Delete all users per tenant
creativecreatorormaybenot
  • 114,516
  • 58
  • 291
  • 402
Filled Stacks
  • 4,116
  • 1
  • 23
  • 36

1 Answers1

3

You can make use of the Identity Toolkit API for bulk deleting users.

If you read through the Admin APIs guide for Identity Platform on Google Cloud, you will also notice that they recommend using the Admin APIs for user management.


What you are looking for is:

creativecreatorormaybenot
  • 114,516
  • 58
  • 291
  • 402
  • 1
    Awesome! Not exactly what I'm hoping for but we did build a CLI that does our migrations and handles that for us. We will add it in there. If it solves our problem then I'll come mark as correct. Thanks again, will know by tomorrow morning. – Filled Stacks Apr 06 '22 at 15:28