Calls the ExecDatamask operation to perform dynamic data masking.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:ExecDatamask |
create |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
integer |
Yes |
Specifies the ID of the masking template. After you create a template in the Data Security Center console, the system generates a template ID. You can obtain the template ID on the Masking Templates page by choosing Data Masking > Masking Configuration > Masking Templates.
|
1 |
| Data |
string |
Yes |
Specifies the data to be masked. The value is a JSON string that contains the following fields:
|
{"dataHeaderList":["name","age"],"dataList":[["lily",18],["lucy",17]],"ruleList":[1002,null]} |
| FeatureType |
integer |
No |
[Deprecated] This parameter is deprecated. |
2 |
| Lang |
string |
No |
Specifies the language of the request and response. Default value: zh_cn. Valid values:
|
zh_cn |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
string |
The masked data. The value is a JSON string that contains the following fields:
|
{"dataHeaderList":["name","age"],"dataList":[["l***",18],["l***",17]],"ruleList":[1002,null]} |
| RequestId |
string |
The ID of the request. The ID is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
813BA9FA-D062-42C4-8CD5-11A7640B96E6 |
Examples
Success response
JSON format
{
"Data": "{\"dataHeaderList\":[\"name\",\"age\"],\"dataList\":[[\"l***\",18],[\"l***\",17]],\"ruleList\":[1002,null]}",
"RequestId": "813BA9FA-D062-42C4-8CD5-11A7640B96E6"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.