Deletes a specified chart version.

Debugging

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 DeleteChartRelease

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

Chart String Yes chart3

The name of the chart.

InstanceId String Yes cri-xkx6vujuhay0****

The ID of the Container Registry instance.

RegionId String Yes cn-shanghai

The ID of the region.

Release String Yes 0.1.0

The version of the chart that you want to delete.

RepoName String Yes repo1

The name of the repository to which the chart belongs.

RepoNamespaceName String Yes ns1

The namespace to which the repository belongs.

Response parameters

Parameter Type Example Description
Code String success

The return value.

IsSuccess Boolean true

Indicates whether the operation is successful.

RequestId String C2D6CE47-6DEF-45F4-A1AC-90F3AFBA751F

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteChartRelease
&Chart=chart3
&InstanceId=cri-xkx6vujuhay0****
&RegionId=cn-shanghai
&Release=0.1.0
&RepoName=repo1
&RepoNamespaceName=ns1
&<Common request parameters>

Sample success responses

XML format

<IsSuccess>true</IsSuccess>
<RequestId>C2D6CE47-6DEF-45F4-A1AC-90F3AFBA751F</RequestId>
<Code>success</Code>

JSON format

{
    "IsSuccess":true,
    "RequestId":"C2D6CE47-6DEF-45F4-A1AC-90F3AFBA751F",
    "Code":"success"
}

Error codes

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