Bulk update or delete users

Problem Statement

How do I bulk update or delete users?

Cause

  • Dashboard doesn’t allow admins to bulk update or delete users

Solution

The current solution is to use the Management API to programmatically update or delete users individually while considering the Rate Limits. Given that designing would be out of the Support Center’s scope, we could suggest the following guidelines:

  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 (you could retrieve this 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 have been exceeded.

See here:

Related References