Delete all network items from access list
diff --git a/rackspace/lb/v1/acl/requests.go b/rackspace/lb/v1/acl/requests.go
index 90cd7f3..ed58a85 100644
--- a/rackspace/lb/v1/acl/requests.go
+++ b/rackspace/lb/v1/acl/requests.go
@@ -108,3 +108,12 @@
})
return res
}
+
+func DeleteAll(c *gophercloud.ServiceClient, lbID int) DeleteResult {
+ var res DeleteResult
+ _, res.Err = perigee.Request("DELETE", rootURL(c, lbID), perigee.Options{
+ MoreHeaders: c.AuthenticatedHeaders(),
+ OkCodes: []int{200},
+ })
+ return res
+}