Updated on 2023-12-28 GMT+08:00

Resetting a User Password

Function

Reset a user password.

URI

POST /cloudartifact/v5/maven/users/me

Request Parameters

None

Response Parameters

Status code: 200

Table 1 Response body parameters

Parameter

Type

Description

status

String

Result status.

trace_id

String

Request ID.

result

String

Returned result of the request. The return value varies according to the API.

Example Requests

Reset a user password.

https://artifact.cn-south-1.myhuaweicloud.com/cloudartifact/v5/maven/users/me

Example Responses

Status code: 200

OK

{
  "status" : "success",
  "trace_id" : "143002-1701244804975-630",
  "result" : {
    "status" : 0,
    "domainId" : "5a775fdcb14f4431b6c0015618140bc3",
    "region" : "cn-north-7",
    "createdTime" : "2021-05-19 19:50:30",
    "modifiedTime" : "2023-11-28 21:00:56",
    "id" : 3000110176,
    "userId" : "e9253deb37654775bb3c411aca89153a",
    "userName" : "devcloud_devcloud_y00226182_01",
    "userType" : "personal",
    "repoUserName" : "5a775fdcb14f4431b6c0015618140bc3_e9253deb37654775bb3c411aca89153a",
    "repoNumber" : 58,
    "innerRepoUserName" : "cn-north-7_5a775fdcb14f4431b6c0015618140bc3_e9253deb37654775bb3c411aca89153a"
  }
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.