Adds addresses or CIDR ranges to the allow list on one server, or updates the comment and expiry of an entry that is already there. The entry applies on that server at once, and any firewall block it covers is lifted. The other servers in the cluster receive it shortly after. Requires Super User scope.Send the address in the body, or in the cidr query parameter. Send an array, or repeat the query parameter, to add several in one call; each is applied on its own and the answer reports each one, with 207 when any failed. Match-all ranges such as 0.0.0.0/0 are refused.The request goes to the IP rules service on {hostname}, and its status and body come back unchanged. Errors the API decides itself use the code and message form; errors from the service use the error form.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Query Params
Body Params application/json
Examples
Responses
🟢200OK
application/json
Every entry was stored. One value answers with its result, an array with the batch result.