Skip to main content
PUT
/
v1
/
ddos
/
filters
/
{ipAddress}
curl --request PUT \
  --url https://api.waterfall.host/v1/ddos/filters/{ipAddress} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "rules": [
    {
      "policy": "minecraft",
      "protocols": [
        "tcp"
      ],
      "ports": [
        25565
      ]
    },
    {
      "policy": "DROP",
      "protocols": [
        "udp"
      ]
    }
  ]
}
'
{
  "success": true,
  "ipAddress": "82.24.83.10",
  "rules": [
    {
      "policy": "minecraft",
      "protocols": [
        "tcp"
      ],
      "ports": [
        25565
      ]
    }
  ],
  "profileId": 9263,
  "site": "DC3",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API key generated from your Waterfall dashboard

Path Parameters

ipAddress
string<ipv4>
required

IPv4 address to update filters for

Body

application/json
rules
object[]
required

Filter rules to apply (order matters - first match wins)

Required array length: 1 - 50 elements

Response

Filters updated successfully

success
boolean
Example:

true

ipAddress
string
Example:

"82.24.83.10"

rules
object[]
profileId
integer
Example:

9263

site
string
Example:

"DC3"

updatedAt
string<date-time>