Skip to content

Support Bulk User Update #3079

Open
Open
@jobannon

Description

@jobannon

Problem

We currently support only 3/4 of "bulk CRUD" operations for the user API:

C - Import API allows for 100K's of users to be created
R - Search API allow you to find many users at once, including by multiple UUIDs for the user.id field
U - Not supported currently
D - Bulk Delete API allow for many users to be soft or hard deleted in on call.

Solution

With scale, there are use cases where many users will need to be updated at a time. The performance costs of iterating over a list of user ids and calling PATCH to change each user is more extensive currently. We have to negotiate TLS with each PATCH network call.

So updating 100K users would be 100K calls. It would be much better to have 10 network calls with a payload of 10K users in each. Ideally, I should be able to send a large array of users to be updated in a PATCH/PUT payload to the User API.

Alternatives/workarounds

Iterate over each user needed to be updated with a PATCH/PUT. Currently supported in the User API.

Additional context

This was a customer request. They are seeing performance impacts from having to iterate over millions of users to update certain user fields.

Related:

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions