Bulk Update or Delete Users

Overview

This article describes how to bulk update information about the users or delete them from Auth0. 

Applies To
  • Bulk Update
  • Delete Users
Cause

The Auth0 Dashboard does not allow admins to bulk update or delete users.

Solution

The Management API can be used programmatically to update or delete users individually. When using this Management API, consider the Rate Limits. 


Utilize the following guidelines or the video below.

 

 

  1. Create an M2M application (API) and link the Management API with client credentials.
  2. Create a function that receives an array of user IDs (this can be retrieved with a user export*).
  3. Request the Management API for update users (PATCH  /api/v2/users/{id}).
  4. Manage timeouts or retry when rate limits are exceeded.

NOTE: Designing this functionality is outside of the scope of Support. 

Related References



Recommended content

No recommended content found...