Introduced : BIG-IP_v11.0.0
Deletes protocols and ports from the allow access list for the specified self IPs.


    in String [] self_ips,
    in Networking__SelfIPV2__ProtocolPortAccess [] access_lists


Parameter Type Description
self_ips String []  
access_lists ProtocolPortAccess [] The access lists that define how access is allowed to the specified self IPs. For a self IP, if the size of “protocol_ports” is 1, and if the protocol is 0, this will effective remove all access to the self IP, regardless of protocol/port. This is effectively the same as calling add_allow_access_list with the mode attribute being ALLOW_MODE_NONE. For a self IP, if the size of “protocol_ports” is 1, and if the port is 0, this will effective remove all access via the specified protocol to the self IP. NOTE: The AllowMode attribute of the access list will be ignored since we’re only deleting the different combinations of protocols/ports. If the “protocol_ports” sequence is empty, nothing will be performed.

Return Type

Type Description


Exception Description
Common::AccessDenied Raised if the client credentials are not valid.
Common::InvalidArgument Raised if one of the arguments is invalid.
Common::OperationFailed Raised if an operation error occurs.

See Also


The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.