Updated on 2026-09-30 GMT+08:00

Deleting a Release

Function

This API is used to delete a release.

Calling Method

For details, see Calling APIs.

URI

DELETE /cce/cam/v3/clusters/{cluster_id}/namespace/{namespace}/releases/{name}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

name

Yes

String

Definition:

Release name

Constraints:

N/A

Range:

N/A

Default Value:

N/A

namespace

Yes

String

Definition:

Namespace that a chart release belongs to

Constraints:

N/A

Range:

N/A

Default Value:

N/A

cluster_id

Yes

String

Details:

Cluster ID. For details about how to obtain the value, see How to Obtain Parameters in the API URI.

Constraints:

None

Options:

Cluster IDs

Default value:

N/A

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

show_resources

No

String

Definition

Whether to display the resource information of a release

Constraints

N/A

Range

If this parameter is set to true, the resource information of the release will be displayed. If this parameter is not specified, the resource information is not displayed by default.

Default Value

N/A

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Definition:

Type (or format) of the request body. The default value is application/json. Other values of this field will be provided for specific APIs, if any.

Constraints:

GET requests are not validated.

Range:

N/A

Default Value:

N/A

X-Auth-Token

Yes

String

Details:

Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token. For details, see Obtaining a User Token.

Constraints:

None

Options:

N/A

Default value:

N/A

Response Parameters

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

-

String

Definition:

Result of deleting a release

Range:

N/A

Example Requests

None

Example Responses

Status code: 200

"Delete release test successfully."

Status Codes

Status Code

Description

200

The chart release has been deleted.

Error Codes

See Error Codes.