Deletes a whitelist policy from the public endpoint of an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:DeleteInstanceEndpointAclPolicy |
delete |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
cri-xkx6vujuhay0**** |
| EndpointType |
string |
Yes |
The endpoint type. Only Internet is supported. |
internet |
Entry
deprecated
|
string |
No |
The IP CIDR block. |
127.0.0.1/32 |
| ModuleName |
string |
No |
The module for which the access policy is configured. Valid values:
|
Chart |
| Entries |
array |
No |
The list of public access whitelist entries to delete for the instance. |
|
| AccessControlEntry |
No |
A public access whitelist entry of the instance. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return code. |
success |
| IsSuccess |
boolean |
Indicates whether the call is successful. Valid values:
|
true |
| RequestId |
string |
The request ID. |
BDB1F145-F0FF-44E9-AADF-A678642A7C7D |
Examples
Success response
JSON format
{
"Code": "success",
"IsSuccess": true,
"RequestId": "BDB1F145-F0FF-44E9-AADF-A678642A7C7D"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SLB_SERVICE_ERROR | Bad request for this user. | An exception occurred while calling the SLB service, the call failed |
| 500 | SystemError | Unknown error. | |
| 403 | NoPrivilege | Access denied for this user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.