You need to enable JavaScript to run this app.
Container Registry

Container Registry

Copy page
Download PDF
User management
GetUser
Copy page
Download PDF
GetUser
Query user information.​
Request description​
  • Request method: POST​
  • Request URL: https://open.volcengineapi.com/?Action=GetUser&Version=2025-01-01​
Request parameters​
​
Parameter Name​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
GetUser​
The API name. The name of the current API is GetUser.​
Version​
String​
Yes​
2025-01-01​
The API version. The current version of the API is 2025-01-01.​
Registry​
String​
Yes​
artifacts-demo​
Artifact repository instance name.​
Call the ListArtifactRegistries interface to obtain the instance name of the artifact repository.​
​
Sample requests​
​
POST https://open.volcengineapi.com/?Action=GetUser&Version=2025-01-01​
Content-Type: application/json​
{​
"Registry": "artifacts-demo"​
}​
​
Response parameters​
​
Parameter Name​
Type​
Sample value​
Description​
Username​
String​
user@12345​
Username for logging in to the artifact repository.​
Status​
String​
Inactive​
User status, possible values:​
  • Active: Indicates that the user has set a permanent login password.​
  • Inactive: Indicates that the user has not set a permanent login password.​
​
Sample responses​
​
HTTP/1.1: 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "20250101110420****100232280022D31",​
"Action": "GetUser",​
"Version": "2025-01-01",​
"Service": "artifacts",​
"Region": "cn-north-1"​
},​
"Result": {​
"Username": "user@12345",​
"Status": "Inactive"​
}​
}​
​
​
Last updated: 2025.10.24 11:20:41