We’re trying to automate user cleanup with Terraform, but the docs are vague on whether DELETE /api/v2/users/{id} actually removes interaction history or just soft-deletes the account. We tried it on a sandbox user and the calls still showed up under the old name in the dashboard, which is weird. Is there a specific flag or separate endpoint to purge the history before deleting the user? Or does the API just handle this gracefully? Here’s the snippet we’re using:
resource "genesyscloud_user" "temp_user" {
name = "Temp User"
email = "temp@example.com"
}
Any insights?