Updated on 2026-01-13 GMT+08:00

Obtaining the Masking Switch Status

Function

This API is used to obtain the switch status of the masking function based on the project ID and data type.

Calling Method

For details, see Calling APIs.

URI

GET /v2/{project_id}/mask/switch-status

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Unique project ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

type

Yes

String

Masking type (such as OBS, DB, and BIGDATA)

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

status

Integer

Status (enabled or disabled)

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Query result.

401

Unauthorized.

403

Access denied.

404

Resource not found.

Error Codes

See Error Codes.