Anonymize inactive users in bulk
This guide explains how to anonymize inactive users in bulk and set up configuration on your end (logic).
Give access to the API to get the user data and search or anonymize any user.
This access can be used to define users who need to be anonymized - sourceUsers
Define system user, which will replace all user data - targetUser
Define task type - taskType:0 - search run, taskType:1 - anonymization run
You can use this API to define an environment on your side, from where for example:
Requests will be coming once a day to anonymize 20 users at a time.
For more information on how to detect inactive/disabled users and anonymize with APIs, please use this link: How to anonymize disabled or deleted user in Jira | How to anonymize all the User picker fields
To use this feature to detect and anonymize users automatically, please use our APIs for the detection and anonymization process, and set up scheduling for this API on your end.
POST ${base_url}/{contextPath}/rest/actonic-gdpr/2/tasks/-1/task/create-quick
JSON Body:
{
"sourceUsers":["username1", "usernam2"],
"targetUser":"targetUserName",
"taskType":0
}
taskType = 0 - search, if taskType = 1 - anonymization
Postman example
How it will be displayed on the dashboard