Help Center/ Data Security Center/ API Reference/ API Description/ Static Data Masking/ Check whether the masking task name already exists.
Updated on 2026-01-13 GMT+08:00

Check whether the masking task name already exists.

Function

Check whether the masking task name already exists in the specified project.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/sdg/server/mask/dbs/templates/check-name

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Unique project ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

name

Yes

String

Name of a masking task

type

Yes

String

Task type, such as database and Elasticsearch.

Request Parameters

None

Response Parameters

Status code: 200

Check result

Status code: 201

Created.

None

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Check result

201

Created.

401

Unauthorized.

403

Access denied.

404

Resource not found.

Error Codes

See Error Codes.