Data privacy API - GET configuration

Gets the global configuration of data privacy, affecting all your applications.

The request produces an application/json payload.

  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/dataPrivacy
  • SaaS https://{your-environment-id}
  • Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/dataPrivacy


To execute this request, you need the Read configuration (ReadConfig) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.


The request doesn't provide any configurable parameters.


Response codes

Code Description


Response body

The DataPrivacyAndSecurity object

Global configuration for data privacy and security.

Element Type Description
metadata ConfigurationMetadata
maskIpAddressesAndGpsCoordinates boolean

Masking of IP addresses and GPS coordinates is enabled (true) or disabled (false).

maskUserActionNames boolean

Masking of user action names is enabled (true) or disabled (false).

This masking is available only for web applications.

maskPersonalDataInUris boolean

Masking of personal data in URIs is enabled (true) or disabled (false).

logAuditEvents boolean

The audit logging is enabled (true) or disabled (false).

The ConfigurationMetadata object

Metadata useful for debugging

Element Type Description
configurationVersions integer[]

A sorted list of the version numbers of the configuration.

currentConfigurationVersions string[]

A sorted list of version numbers of the configuration.

clusterVersion string

Dynatrace version.


In this example, the request fetches the current data privacy configuration.

The API token is passed in the Authorization header.


curl -X GET \ \
  -H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'

Request URL

Response body

  "metadata": {
    "configurationVersions": [
      "clusterVersion": ""
    "maskIpAddressesAndGpsCoordinates": true,
    "maskUserActionNames": false,
    "maskPersonalDataInUris": false,
    "logAuditEvents": true