To remove a host from the ACL of your name server, use the remove_from_acl operation. You can remove multiple hosts from the ACL using a single packet. This operation is available on Linux only.
Request Packet Structure
A request XML packet removing a host from the ACL includes the remove_from_acl operation node:
The graphical representation of the remove_from_acl node is as follows:
- The filter node is required. It specifies the filtering rule. For more information, refer to the Available Filters section. Data type: aclFilter (
You can remove multiple hosts from the ACL in a single packet using filters. Add as many host parameters to the filter node as the number of hosts you want to remove from ACL.
Response Packet Structure
The remove_from_acl node of the output XML packet is structured as follows:
- The result node is optional. It is required in case when an error (if it occurred) was not of a common type. Data type: resultType (
- The status node is required. It specifies the execution status of the remove_from_acl operation. Data type: string. Allowed values: ok | error.
- The errcode node is optional. It is used to return the error code when the remove_from_acl operation fails. Data type: unsignedInt.
- The errtext node is optional. It is used to return the error message if the remove_from_acl operation fails. Data type: string.
- The host node is optional. It is required in case an error (if it was) was not of a common type. Returns the IP address or name of hosts from the ACL. Data type: string.
Removing a single host from ACL
This request packet removes host 192.168.34.56 from the ACL.
Removing a host from ACL two twice
This request packet remove host 192.168.34.56 from ACL two times.