v1

latestOpenAPI 3.1.02026-08-06360288.3 KB
Admin

IP Access Control - Update IPv4 Addresses

Update the list of allowed IPv4 addresses to access the status page.

post/admin/ip_access_control/update/ipv4

Headers

x-api-idstring required
x-api-keystring required

Request body

statuspage_idstring required

ID of the status page

allow_ipsstring required

IP addresses in CIDR notation separated by commas

Example request

{
  "allow_ips": "192.168.1.0/24,192.168.5.1/32",
  "statuspage_id": "52e5e0e0873548543700000b"
}

Response

OK

resultboolean

Example response

{
  "result": true,
  "status": {
    "error": "no",
    "message": "OK"
  }
}