Endpoints for viewing and manipulating Access Control Lists.
GET /api2/system/acl admin
PUT /api2/system/acl admin[
{
"address": "0.0.0.0", // valid IPv4 or IPv6
"mask": 0,
"services": [
"snmp",
"ssh",
"http"
],
"policy": "allow",
"active": true,
"label": "abc"
}
]| Value | Description |
|---|---|
| "allow" | allow traffic |
| "drop" | drop traffic |
| Value | Description |
|---|---|
| "snmp" | snmp service |
| "ssh" | ssh service |
| "http" | http service |
| "https" | https service |