Deletes a chart version for a repository.

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 version name of the chart.

InstanceId String Yes cri-xkx6vujuhay0txas

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

Release String Yes 0.1.0

The version number of the chart.

RepoName String Yes repo1

The name of the repository.

RepoNamespaceName String Yes ns1

The name of the namespace.

Response parameters

Parameter Type Example Description
IsSuccess Boolean true

Indicates whether the operation is successful.

Code String success

The code returned for the request.

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

The ID of the request.

Examples

Sample requests

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

Sample success responses

JSON format

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

XML format

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

Error codes

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