clients

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

post/access/set

Request

  • Base URL
    /control (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP basic

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.

Changes

No recorded changes to this operation across all 2 revisions of this API.