Updates a repository of a Container Registry instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UpdateChartRepository

The operation that you want to perform. Set the value to UpdateChartRepository.

InstanceId String Yes cri-kmsiwlxxdcva****

The ID of the Container Registry instance.

RegionId String Yes cn-shanghai

The ID of the region.

RepoName String Yes test

The name of the repository that you want to update.

RepoNamespaceName String Yes test

The namespace to which the repository belongs.

RepoType String Yes PUBLIC

The type of the repository. Valid values:

Summary String No test

The summary about the repository.

Response parameters

Parameter Type Example Description
Code String success

The return value.

IsSuccess Boolean true

Indicates whether the API call is successful. Valid values:

  • true: successful
  • false: failed
RequestId String EB9C5722-51E2-4497-A573-575B0CA5CE0C

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.