I’m trying to clean up stale test users in our staging org, but the DELETE /api/v2/users/{userId} endpoint keeps failing with a 409 Conflict. The error message says the user has active interactions. I need to remove the user without nuking the historical WEM data we’ve been tracking for the last six months. Is there a specific sequence of API calls to detach these interactions before the delete request goes through?
haven’t tried the direct delete route in a while. usually, you just need to clear the active interactions first. that clears active sessions. once the interactions are gone, the delete endpoint should work without conflict. worth a shot before digging into interaction detachment logic.
2 Likes