---
ai:
  exclude: true
search:
  tags:
    - user
    - DELETE
seo:
  description: >-
    Removes stale user anonymization… Reference for the DELETE
    /api/2/user/anonymization/unlock endpoint in the Jira Software Data Center
    REST API Reference.
sidebar:
  label: Delete stale user anonymization task
  badge: DELETE
title: Delete stale user anonymization task
type: openapi-operation
---
Removes stale user anonymization task, for scenarios when the node that was executing it is no longer alive. Use it only after making sure that the parent node of the task is actually down, and not just having connectivity issues.

`DELETE /api/2/user/anonymization/unlock`

**Responses**

- `204` — Returned when anonymization task has been successfully removed.
- `400` — Returned if called when Jira is running in a non-clustered mode.
- `403` — Returned if the logged-in user cannot remove anonymization tasks.
- `404` — Returned if there is no user anonymization task found.
- `409` — Returned if the node executing the anonymization is still running.
