Uninstalls components that you no longer need from a cluster. You must specify the name of the components and specify whether to release associated Alibaba Cloud resources from the cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:UnInstallClusterAddons |
delete |
*Cluster
|
|
None |
Request syntax
POST /clusters/{ClusterId}/components/uninstall HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The ID of the cluster. |
c5b5e80b0b64a4bf6939d2d8fbbc5**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| addons |
array<object> |
No |
The list of add-ons to uninstall. |
|
|
object |
No |
Add-on details. |
||
| name |
string |
No |
The name of the add-on to uninstall. You can call the ListClusterAddonInstances operation to query the installed add-ons. |
ack-node-problem-detector |
| cleanup_cloud_resources |
boolean |
No |
Specifies whether to clean up related cloud resources during uninstallation.
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| cluster_id |
string |
The cluster ID. |
c5b5e80b0b64a4bf6939d2d8fbb****** |
| task_id |
string |
The task ID. |
T-66e39b39c0fdd00132****** |
| request_id |
string |
The request ID. |
74D1512F-67DA-54E8-99EA-4D50EB****** |
Examples
Success response
JSON format
{
"cluster_id": "c5b5e80b0b64a4bf6939d2d8fbb******",
"task_id": "T-66e39b39c0fdd00132******",
"request_id": "74D1512F-67DA-54E8-99EA-4D50EB******"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.