Anonymization API

General Data Protection Act of the European Union guarantees the right to erasure ("the right to be forgotten")—users may want their data to be deleted. This endpoint provides you means to fulfill such a request.

The Anonymization API enables you to:

PUT anonymization job

Creates user session anonymization job. The job anonymizes all user sessions in the specified timeframe by masking the userID and IP address.

To identify user sessions to be anonymized you can specify either user ID, or IP address, or both. If you specify both the OR logic applies—every session of the user gets anonymized even if it came from another IP address and every session from the specified IP address gets anonymized even if it belongs to another user.

Regardless of how you're identifying the user session, both user ID and IP address are masked. You can't undo the anonymization.

The request produces application/json.

PUT
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/anonymize/anonymizationJobs
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/anonymize/anonymizationJobs

GET anonymization job status

Checks the status of an anonymization job. The response contains the percentage of job progress.

The request produces application/json.

PUT
  • Managed https://{your-domain}/e/{your-environment-id}/api/v1/anonymize/anonymizationJobs
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v1/anonymize/anonymizationJobs