Deletes an access control entry to control access from the Internet to an instance.
Debugging
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. |
Entry | String | Yes | 127.0.0.1/32 |
The IP address range that is allowed to access the instance. |
InstanceId | String | Yes | cri-xkx6vujuhay0txsa |
The ID of the instance. |
RegionId | String | Yes | cn-shanghai |
The ID of the region where the instance resides. |
ModuleName | String | No | Chart |
The name of the module in the instance. Valid values: Registry and Chart. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
IsSuccess | Boolean | true |
Indicates whether the operation is successful. |
Code | String | success |
The code returned for the request. |
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
JSON
format
{
"IsSuccess":true,
"RequestId":"BDB1F145-F0FF-44E9-AADF-A678642A7C7D",
"Code":"success"
}
XML
format
<IsSuccess>true</IsSuccess>
<RequestId>BDB1F145-F0FF-44E9-AADF-A678642A7C7D</RequestId>
<Code>success</Code>
Error codes
For a list of error codes, visit the API Error Center.