Unbinds a Server Load Balancer (SLB) instance from an application that is deployed in a Container Service for Kubernetes (ACK) cluster.

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 headers

This operation uses only the common request header. For more information, see Common request parameters.

Request syntax

DELETE /pop/v5/k8s/acs/k8s_slb_binding HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
AppId String Yes 5a166fbd-****-****-a286-781659d9f54c

The ID of the application.

ClusterId String Yes 712082c3-****-****-9217-a947b5cde6ee

The ID of the cluster.

Type String Yes Internete

The type of the SLB instance. Valid values: internet and intranet.

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 response message.

RequestId String 1234-1sda-321d-1234

Examples

Sample requests

DELETE /pop/v5/k8s/acs/k8s_slb_binding HTTP/1.1
Common request parameters
{
  "AppId": "5a166fbd-****-****-a286-781659d9f54c"
  "ClusterId": "712082c3-****-****-9217-a947b5cde6ee"
  "Type": "Internete"
}

Sample success responses

XML format

<Message>success</Message>
<ChangeOrderId>b0a8441e-****-4e8e-9874-b56dea02952f</ChangeOrderId>
<Code>200</Code>

JSON format

{
	"Message": "success",
	"ChangeOrderId": "b0a8441e-****-4e8e-9874-b56dea02952f",
	"Code": 200
}

Error codes

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