DesensitizeData

更新时间:
复制 MD 格式

Masks sensitive data and returns the masked result.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Data

string

Yes

The data that you want to mask.

15365291784

SceneCode

string

Yes

The masking scenario code. You can obtain this code from the Data Masking Management page in Data Security Guard of the DataWorks console.

_default_scene_code

Response elements

Element

Type

Description

Example

object

DesensitizeData

string

The masked data.

{ "desensData": "**198807120510**" }

RequestId

string

The request ID.

BCA321BA-46C5-40E9-8A08-6******

Examples

Success response

JSON format

{
  "DesensitizeData": "{     \"desensData\": \"**198807120510**\"   }",
  "RequestId": "BCA321BA-46C5-40E9-8A08-6******"
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError.DQC.BizError An internal error occurred.
403 Forbidden.NoTenant The tenant information cannot be obtained using user ID.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.