Help Center/ CodeArts Pipeline/ API Reference/ API/ Pipeline Management/ Querying the Parameter Group Permissions Granted to a User
Updated on 2025-09-08 GMT+08:00

Querying the Parameter Group Permissions Granted to a User

Function

This API is used to query the parameter group permissions granted to a user.

Calling Method

For details, see Calling APIs.

URI

GET /v5/{project_id}/api/variable/group/check-rights

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition:

Project ID. For details, see Obtaining a Project ID.

Constraints:

N/A

Value range:

The value consists of 32 characters, including digits and letters.

Default value:

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

[items]

Array of AuthorizationVerdictVO objects

Definition:

Authentication details list.

Value range:

N/A

Table 3 AuthorizationVerdictVO

Parameter

Type

Description

action

String

Definition:

Permission details.

Value range:

N/A

verdict

String

Definition:

Whether the account has the permission.

Value range:

  • allow: The account has the permission.

  • deny: The account does not have the permission.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.