---
ai:
  exclude: true
search:
  tags:
    - user
    - POST
seo:
  description: >-
    Schedules a user anonymization process.… Reference for the POST
    /api/2/user/anonymization/rerun endpoint in the Jira Software Data Center
    REST API Reference.
sidebar:
  label: Schedule user anonymization rerun
  badge: POST
title: Schedule user anonymization rerun
type: openapi-operation
---
Schedules a user anonymization process. Requires system admin permission.

`POST /api/2/user/anonymization/rerun`

**Request body** (`application/json`, required)

JSON containing parameters to schedule the anonymization process with

- `newOwnerKey` (string)
- `oldUserKey` (string)
- `oldUserName` (string)
- `userKey` (string)

Request body example:

```json
{
  "newOwnerKey": "admin",
  "oldUserKey": "string",
  "oldUserName": "string",
  "userKey": "JIRAUSER10100"
}
```

**Responses**

- `202` — Returned if the process was scheduled. Note that it can still fail the extended validation once its execution starts.
- `400` — Returned if a mandatory parameter was not provided.
- `403` — Returned if the logged-in user cannot anonymize users.
- `409` — Returned if another user anonymization process is already in progress.
