Help Center/ Data Security Center/ API Reference/ API Description/ Policy Center/ Obtaining the Masking Algorithms (To Be Discontinued)
Updated on 2026-01-13 GMT+08:00

Obtaining the Masking Algorithms (To Be Discontinued)

Function

This API is used to query available data masking algorithms of a specified instance (to be discontinued).

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/security-policies/{instance_id}/mask-algorithms

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

instance_id

Yes

String

Instance ID.

project_id

Yes

String

Unique project ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

limit

No

Integer

Number of records on each page.

offset

No

Integer

Pagination offset.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

[items]

Array of DdsMaskAlgorithm objects

Response body.

Table 4 DdsMaskAlgorithm

Parameter

Type

Description

id

Integer

Algorithm ID.

name

String

Algorithm name.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Query result.

401

Unauthorized. The user is not logged in or the token is invalid.

403

Unauthorized to access the resource.

404

The specified project or instance does not exist.

Error Codes

See Error Codes.