Updates a chart repository of a Container Registry instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:UpdateRepository |
update |
*ChartRepository
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
cri-kmsiwlxxdcva**** |
| RepoType |
string |
No |
The type of the repository. Valid values:
|
PUBLIC |
| Summary |
string |
No |
The summary of the repository. |
test |
| RepoNamespaceName |
string |
Yes |
The namespace that the repository belongs to. |
test |
| RepoName |
string |
Yes |
The name of the repository. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return value. |
success |
| IsSuccess |
boolean |
Whether the request was successful. Valid values:
|
true |
| RequestId |
string |
The ID of the request. |
EB9C5722-51E2-4497-A573-575B0CA5CE0C |
Examples
Success response
JSON format
{
"Code": "success",
"IsSuccess": true,
"RequestId": "EB9C5722-51E2-4497-A573-575B0CA5CE0C"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | SystemError | Unknown error. | |
| 403 | NoPrivilege | Access denied for this user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.