Data privacy API - PUT configuration

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

The request consumes an application/json payload.

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


Parameter Type Description In Required
body DataPrivacyAndSecurity body optional

The DataPrivacyAndSecurity object

Element Type Description Required
metadata ConfigurationMetadata

Metadata useful for debugging.

maskIpAddressesAndGpsCoordinates boolean

Mask IP addresses and GPS coordinates enabled/disabled.

maskUserActionNames boolean

Mask user action names (Web applications only) enabled/disabled.

maskPersonalDataInUris boolean

Mask personal data in URIs enabled/disabled.

logAuditEvents boolean

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


The ConfigurationMetadata object

Metadata useful for debugging

Element Type Description Required
clusterVersion string

Dynatrace server version.

configurationVersions integer[]

A Sorted list of the version numbers of the configuration.


Response format

A successful request doesn't return any content.

Validate payload

We recommend that you validate the payload before submitting it with an actual request. A response code of 204 indicates a valid payload.

The request consumes an application/json payload.

The request consumes an application/json payload.

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

Response codes

Code Description
204 Validated. The submitted configuration is valid. Response does not have a body.
400 Failed. The input is invalid. See the response body for details.