Deletes a chart namespace from an instance.

If you delete a chart namespace, all repositories in the namespace and all images in those repositories are also deleted.

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 DeleteChartNamespace

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

InstanceId String Yes cri-xkx6vujuhay0taaa

The ID of the instance.

NamespaceName String Yes ns2

The name of the chart namespace.

RegionId String Yes cn-shanghai

The ID of the region where the instance resides.

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 FEC62DF1-1394-467F-A69F-4BC1BA29F383

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DeleteChartNamespace
&InstanceId=cri-xkx6vujuhay0taaa
&NamespaceName=ns2
&RegionId=cn-shanghai
&<Common request parameters>

Sample success responses

JSON format

{
    "IsSuccess":true,
    "RequestId":"FEC62DF1-1394-467F-A69F-4BC1BA29F383",
    "Code":"success"
}

XML format

<IsSuccess>true</IsSuccess>
<RequestId>FEC62DF1-1394-467F-A69F-4BC1BA29F383</RequestId>
<Code>success</Code>

Error codes

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