DesensitizeData

Updated at:

Submits data for masking 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 input data to be masked.

15365291784

SceneCode

string

Yes

The masking scene code. You can view this on the Data Masking Management page of DataWorks Data Security Guard in the DataWorks console.

You can obtain this value from Data[].SceneCode in the response of DsgSceneQuerySceneListByName.

_default_scene_code

Response elements

Element

Type

Description

Example

object

DesensitizeData

string

The masked result data.

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

RequestId

string

The request ID. A unique identifier for the request.

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.