Deletes an Internet endpoint from the instance whitelist 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 Yes DeleteInstanceEndpointAclPolicy

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

EndpointType String Yes internet

The type of the endpoint. Only Internet is supported.

Entry String Yes 127.0.0.1/32

The CIDR block.

InstanceId String Yes cri-xkx6vujuhay0****

The ID of the instance.

RegionId String Yes cn-shanghai

The region ID of the instance.

ModuleName String No Chart

Specifies the module that you want to access. Valid values:

  • Registry: the image repository.
  • Chart: Helm Chart.

Response parameters

Parameter Type Example Description
Code String success

The return value.

IsSuccess Boolean true

Indicates whether the operation is successful.

RequestId String BDB1F145-F0FF-44E9-AADF-A678642A7C7D

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteInstanceEndpointAclPolicy
&EndpointType=internet
&Entry=127.0.0.1/32
&InstanceId=cri-xkx6vujuhay0txsa
&RegionId=cn-shanghai
&<Common request parameters>

Sample success responses

XML format

<IsSuccess>true</IsSuccess>
<RequestId>BDB1F145-F0FF-44E9-AADF-A678642A7C7D</RequestId>
<Code>success</Code>

JSON format

{
    "IsSuccess":true,
    "RequestId":"BDB1F145-F0FF-44E9-AADF-A678642A7C7D",
    "Code":"success"
}

Error codes

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