Unbinds a Server Load Balancer (SLB) instance from an application that is deployed in a Container Service for Kubernetes (ACK) cluster.
Debugging
Request headers
This operation uses only common request headers. For more information, see the topic about common request parameters.
Request syntax
DELETE /pop/v5/k8s/acs/k8s_slb_binding HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
---|---|---|---|---|---|
AppId | String | Query | Yes | 5a166fbd-****-****-a286-781659d9f54c |
The ID of the application. You can call the ListApplication operation to query the application ID. |
ClusterId | String | Query | Yes | 712082c3-****-****-9217-a947b5cde6ee |
The ID of the cluster. You can call the GetK8sCluster operation to query the cluster ID. |
Type | String | Query | Yes | Internet |
The type of the SLB instance. Valid values:
|
SlbName | String | Query | No | a2d4ab12666544a479cdd0711a97**** |
The name of the SLB instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
ChangeOrderId | String | b0a8441e-****-4e8e-9874-b56dea02952f |
The ID of the change process. |
Code | Integer | 200 |
The HTTP status code. |
Message | String | success |
The returned message that indicates whether the request is successful. |
RequestId | String | 1234-1sda-321d-1234 |
The ID of the request. |
Examples
Sample requests
DELETE /pop/v5/k8s/acs/k8s_slb_binding HTTP/1.1
Common request headers
{
"AppId": "5a166fbd-****-****-a286-781659d9f54c",
"ClusterId": "712082c3-****-****-9217-a947b5cde6ee",
"Type": "Internet"
}
Sample success responses
XML
format
<RequestId>1234-1sda-321d-1234</RequestId>
<Message>success</Message>
<ChangeOrderId>b0a8441e-****-4e8e-9874-b56dea02952f</ChangeOrderId>
<Code>200</Code>
JSON
format
{
"RequestId": "1234-1sda-321d-1234",
"Message": "success",
"ChangeOrderId": "b0a8441e-****-4e8e-9874-b56dea02952f",
"Code": 200
}
Error codes
For a list of error codes, visit the API Error Center.