Help Center/ Data Security Center/ API Reference/ API Description/ Asset Management/ Querying User Authorization Information
Updated on 2026-01-13 GMT+08:00

Querying User Authorization Information

Function

This API is used to query the authorization information of a user and return the authorization status of a specified asset type.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/sdg/asset/authorization

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID, which is used to identify a specific project.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

type

Yes

String

Asset type, which is used to specify the type of authorization to be queried. The options are DASHBOARD, OBS, DATABASE, BIGDATA, MRS, LTS, and ALL.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

bigdata_authorization

Boolean

Authorization status of big data assets.

dashboard_authorization

Boolean

Dashboard authorization status.

database_authorization

Boolean

Database authorization status.

lts_authorization

Boolean

Log Tank Service (LTS) authorization status.

mrs_authorization

Boolean

MapReduce Service (MRS) authorization status.

obs_authorization

Boolean

Object Storage Service (OBS) authorization status.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

The user authorization is queried successfully.

401

Unauthorized access. The request is rejected.

403

Unauthorized operation. The request is rejected.

404

The project does not exist. Query failed.

Error Codes

See Error Codes.