Updates the information about a repository.


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 UpdateRepository

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

InstanceId String Yes cri-kmsiwlxxdcvaduwb

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

RepoId String Yes crr-tquyps22md8purzx

The ID of the repository.

RepoType String Yes PUBLIC

The type of the repository. Valid values: PUBLIC and PRIVATE.

Summary String No test repo

The summary of the repository.

Detail String No repo-for-test

The description of the repository.

TagImmutability Boolean No true

Specifies whether the repository is immutable. Valid values: true and false.

Response parameters

Parameter Type Example Description
Code String success

The return value.

IsSuccess Boolean true

Indicates whether the operation is successful.

RequestId String CC43EC6B-0DD4-40AE-8811-B0519617051A

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=UpdateRepository
&Summary="test repo"
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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