Dynamically de-identifies sensitive data.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TemplateId | long | Yes | The ID of the de-identification template. The ID is generated after you create the de-identification template in the Data Security Center (DSC) console. You can choose Data desensitization > Desensitization Template in the left-side navigation pane and obtain the ID of the de-identification template from the Desensitization Template page.
| 1 |
Data | string | Yes | The sensitive data to be de-identified. The value is a JSON string that contains the following parameters:
| {"dataHeaderList":["name","age"],"dataList":[["lily",18],["lucy",17]],"ruleList":[1002,null]} |
FeatureType | integer | No | This parameter is deprecated. | 1 |
Lang | string | No | The language of the content within the request and response. Default value: zh_cn. Valid values:
| zh_cn |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": "{\"dataHeaderList\":[\"name\",\"age\"],\"dataList\":[[\"l***\",18],[\"l***\",17]],\"ruleList\":[1002,null]}",
"RequestId": "813BA9FA-D062-42C4-8CD5-11A7640B96E6"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-04-11 | API Description Update | View Change Details |
2024-03-25 | The request parameters of the API has changed | View Change Details |