Help Center/ CodeArts Artifact/ API Reference/ API/ User Management/ Querying the Password of a Tenant's Repository
Updated on 2025-09-08 GMT+08:00

Querying the Password of a Tenant's Repository

Function

Query the password of a tenant's repository.

Calling Method

For details, see Calling APIs.

URI

GET /cloudartifact/v5/repositories/user/info

Request Parameters

None

Response Parameters

Status code: 200

Table 1 Response body parameters

Parameter

Type

Description

status

String

Definition:

Request status.

Value range:

success: The request is successful.

error: The request fails.

trace_id

String

Definition:

Request ID, which uniquely identifies the current request.

Value range:

A string of digits and hyphens (-).

result

RepositoryUserDO object

Definition:

User information.

Value range:

N/A

Table 2 RepositoryUserDO

Parameter

Type

Description

username

String

Definition:

Account.

Value range:

N/A

password

String

Definition:

Password.

Value range:

N/A

Example Requests

Query the password of a tenant's repository.

https://{URL}/cloudartifact/v5/repositories/user/info

Example Responses

Status code: 200

OK

{
  "status" : "success",
  "trace_id" : "72d95eba535c4f4188707a7066e63f9e",
  "result" : {
    "username" : "xx-xxxxx-x_09d2ca2f5080d5b60f51c00ae5bad0a0_09d2ca2ffd00d3c21ff8c00a4dd1e080",
    "password" : "xxxxxx"
  }
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.