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

Container Registry

Copy page
Download PDF
User management
SetUser
Copy page
Download PDF
SetUser
Update user information.​
tip​
Currently, only updating user passwords is supported.​
Request description​
  • Request method: POST​
  • Request URL: https://open.volcengineapi.com/?Action=SetUser&Version=2025-01-01​
Request parameters​
​
Parameter Name​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
SetUser​
Interface name: the name of the current API is SetUser.​
Version​
String​
Yes​
2025-01-01​
API version: 2025-01-01​
Registry​
String​
Yes​
artifacts-demo​
Artifact repository instance name.​
You can call the ListArtifactRegistries API to obtain artifact repository instance names.​
Password​
String​
Yes​
YWRtaW5AMTIzNA==​
User login password.​
  • In string form, the length of the original Password (that is, before Base64 encoding) is limited to 8 to 20 characters.​
  • Must include uppercase and lowercase letters, and at least one digit or symbol. Supported symbols include `~!@#$%^&*()-_=+|[]:,<.>/;.​
tip​
When calling this interface, the original password must first be encoded using Base64 and then entered here. For example: If your original password is admin@1234, then the value to be entered here should be the Base64-encoded value, that is, YWRtaW5AMTIzNA==.​
​
Sample requests​
​
POST https://open.volcengineapi.com/?Action=SetUser&Version=2025-01-01​
Content-Type: application/json​
{​
"Registry": "artifacts-demo",​
"Password": "YWRtaW5AMTIzNA=="​
}​
​
Response parameters​
This API has no proprietary response parameters. For public response parameters, please refer to Return structure.​
Sample responses​
​
HTTP/1.1: 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "20250101110420****100232280022D31",​
"Action": "SetUser",​
"Version": "2025-01-01",​
"Service": "artifacts",​
"Region": "cn-north-1"​
},​
"Result": {}​
}​
​
​
Last updated: 2025.10.24 11:20:41