v1

latestOpenAPI 3.0.32026-07-17687987.2 KB
clients

Set (dis)allowed clients, blocked hosts, etc.

post/access/set

Request body

allowed_clientsstring[]

The allowlist of clients: IP addresses, CIDRs, or ClientIDs.

disallowed_clientsstring[]

The blocklist of clients: IP addresses, CIDRs, or ClientIDs.

blocked_hostsstring[]

The blocklist of hosts.

Example request

{
  "allowed_clients": [
    "allowed_clients",
    "allowed_clients"
  ],
  "disallowed_clients": [
    "disallowed_clients",
    "disallowed_clients"
  ],
  "blocked_hosts": [
    "blocked_hosts",
    "blocked_hosts"
  ]
}

Response

OK.