Deletes a TLS policy.

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 parameters

Parameter Type Required Example Description
Action String No DeleteTLSCipherPolicy

The operation that you want to perform. Set the value to DeleteTLSCipherPolicy.

RegionId String Yes cn-hangzhou

The ID of the region where the Classic Load Balancer (CLB) instance is created.

You can call the DescribeRegions operation to query the most recent region list.

TLSCipherPolicyId String Yes tls-bp1lp2076qx4ebridp******

The ID of the TLS policy.

Response parameters

Parameter Type Example Description
RequestId String CEF72CEB-54B6-4AE8-B225-F876FF7BA984

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteTLSCipherPolicy
&RegionId=cn-hangzhou
&TLSCipherPolicyId=tls-bp1lp2076qx4ebridp******
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteTLSCipherPolicyResponse>
<RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>
</DeleteTLSCipherPolicyResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}

Error codes

HttpCode Error code Error message Description
400 MissingParam.TLSCipherPolicyId The param TLSCipherPolicyId is missing. The error message returned because the TLSCipherPolicyId parameter is not specified.
400 TLSPolicyConfiguring The specified TLS cipher policy is configuring. The error message returned because the TLS policy is being modified.
400 TLSPolicyBeingUsed The specified TLS cipher policy is being used. The error message returned because the TLS policy is in use.
400 InvalidTLSPolicyId.NotExist The specified TLS cipher policy does not exist. The error message returned because the TLS policy does not exist.
400 TLSPolicyRelated The specified TLS cipher policy is related with listeners. The error message returned because the TLS policy is already associated with a listener.

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