Deleting a Release
Function
This API is used to delete a release.
URI
DELETE /cce/cam/v3/clusters/{cluster_id}/namespace/{namespace}/releases/{name}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
name |
Yes |
String |
Release name |
namespace |
Yes |
String |
Namespace of the chart |
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 |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
Content-Type |
Yes |
String |
Details: The request body type or format Constraints: The GET method is not verified. Options:
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
Parameter |
Type |
Description |
---|---|---|
chart_name |
String |
Chart name |
chart_public |
Boolean |
Whether the chart is public |
chart_version |
String |
Chart version |
cluster_id |
String |
Cluster ID |
cluster_name |
String |
Current name |
create_at |
String |
Creation time. |
description |
String |
Release description |
name |
String |
Release name |
namespace |
String |
Namespace to which a chart release belongs |
parameters |
String |
Release parameters |
resources |
String |
Resources required by the release |
status |
String |
Release status.
|
status_description |
String |
Release status description |
update_at |
String |
Update time. |
values |
String |
Release value |
version |
Integer |
Release version |
Example Requests
None
Example Responses
Status code: 200
OK
{ "chart_name" : "magento-mysql", "chart_public" : false, "chart_version" : "1.0.0", "cluster_id" : "a870253f-5dc7-11ee-bf71-0255ac100b03", "cluster_name" : "sfs-turbo-test", "create_at" : "2023-11-14T20:30:57+08:00", "name" : "testwww", "namespace" : "monitoring", "parameters" : "", "resources" : "", "status" : "DELETING", "update_at" : "2023-11-14T20:30:57+08:00", "values" : "{\"basic\":{\"admin_password\":\"******\",\"admin_username\":\"username\",\"app_name\":\"magento\",\"mysql_database\":\"magento\",\"mysql_name\":\"mysql\",\"mysql_password\":\"******\",\"mysql_port\":3306,\"mysql_root_password\":\"******\",\"mysql_user\":\"magento\",\"storage_class\":\"csi-nas\",\"storage_mode\":\"ReadWriteMany\",\"storage_size\":\"10G\"},\"global\":{\"magento_EIP\":\"100.100.100.100\",\"magento_EPORT\":32080,\"namespace\":\"default\"},\"image\":{\"magento_image\":\"example.com/everest/magento:latest\",\"mysql_image\":\"example.com/everest/mysql:5.7.14\"}}", "version" : 1 }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot