Data privacy API - PUT configuration

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

The request consumes an application/json payload.

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

Parameters

Parameter Type Description In Required
body DataPrivacy body optional

The DataPrivacy object

Element Type Description Required
metadata ConfigurationMetadata

Metadata useful for debugging.

optional
maskIpAddressesAndGpsCoordinates boolean

Mask IP addresses and GPS coordinates enabled/disabled.

required
maskUserActionNames boolean

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

required
maskPersonalDataInUris boolean

Mask personal data in URIs enabled/disabled.

required

The ConfigurationMetadata object

Metadata useful for debugging

Element Type Description Required
configurationVersions integer[]

A Sorted list of the version numbers of the configuration.

optional
clusterVersion string

Dynatrace server version.

optional

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.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/dataPrivacy/validator
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/dataPrivacy/validator

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.