Deleting users via API without breaking historical interaction data

So I’m seeing a very odd bug with the Users API. I need to remove a user from the system but keep their historical interaction data intact. Calling DELETE /api/v2/users/{userId} returns 204, but subsequent queries to /api/v2/analytics/users/summary fail to associate past interactions correctly.

Is there a specific flag or alternative endpoint to soft-delete a user? Or do I need to update the user’s status to inactive via PATCH /api/v2/users/{userId} first? Current payload:

{"status": "inactive"}

What is the correct sequence?