Patch Anon Settings

Patch Anon Settings

Change anonymization settings with the given values. To disable/enable only provided the disabled flag in the request body. To clear the redaction string, provide a null attribute in the request body. When you want to change a anonymization group, only set it in the settings array. The rest of the groups will be intact.

Request
URI
PATCH
https://umip/api/v1/anon-settings
COPY
Request Body

Change anonymization settings

AnonSettings of type(s) application/json
Required
{
    "disabled": false,
    "settings": [
        {
            "group": "string",
            "description": "string",
            "enabled": false,
            "dataPath": [
                {
                    "stream": "string",
                    "who": "string",
                    "path": "string",
                    "description": "string",
                    "enabled": false
                }
            ]
        }
    ],
    "redactionString": "string"
}
boolean
disabled
Optional

True to disable anonymization. When false or undefined anonymization is enabled.

array of object
settings
Optional

The list of configured anonymization groups.

string
redactionString
Optional

When set, anonymization is performed using the given string by replacing all enabled data path elements with it instead of hashing values.

Authentication
This operation uses the following authentication methods.
Responses
202

Anonymization settings successfully patched.

Operation doesn't return any data structure

401
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'