Skip to content

[Bug]: User Bulk Delete API does not trigger user.delete.complete webhook #3269

@JoshTheHero

Description

@JoshTheHero

What happened?

When you call on the user bulk delete endpoint, it does not trigger the user.delete.complete webhook but it does trigger user.delete. The users are actually being deleted from FusionAuth so not sure why this is not triggering. I suspect it's related to #2419 which is similar behavior on the auto delete of unverified users.

#2419

To reproduce:

  1. Setup Webhook on your Tenant for user.delete.complete
  2. Run a DELETE /api/user/bulk call for users in that Tenant
  3. The webhook does not trigger

Version

1.60.2

Affects Versions

No response

Alternatives / Workarounds

Listen for user.delete instead of user.delete.complete

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions