Skip to content

List DDoS filtering rules for an IP address

GET/servers/{server}/ddos-protection/ip/{ip}/profiles

Overview

Lists filtering rules for an address, including their presets, protocols and any port ranges. createdAt and updatedAt use the protection service's date format, which may differ from other API timestamps.

Permissions

Requires the network.read (View networking) permission for the selected team. Resources outside that team return 404.

curl --request GET \
  --url 'https://console.advinservers.com/api/v1/client/servers/{server}/ddos-protection/ip/{ip}/profiles' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json'
[
  {
    "id": "a45afea6-a83e-4685-b7d5-029d0a91e81e",
    "protocol": "TCP",
    "minDstPort": 443,
    "maxDstPort": 443,
    "preset": {
      "id": "19cfb2ea-daa8-4693-ad63-9d147b00b8f7",
      "name": "HTTPS",
      "protocol": "TCP"
    },
    "notes": "Black Mesa announcement system",
    "createdAt": "2026-03-04T10:22:51Z",
    "updatedAt": "2026-03-04T10:22:51Z"
  }
]

Authorization

Authorizationstringheaderrequired

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Send it as Bearer <token>.

Path parameters

serverstringrequired

The server uuid short

ipstringrequired

The ip ID.

Response 200

application/json

The whole set, as a JSON array. There is no envelope and no paging.

idstringrequired

The id ID.

protocolstringrequired

The value of protocol.

minDstPortinteger | nullrequired

The value of min_dst_port.

maxDstPortinteger | nullrequired

The value of max_dst_port.

presetobject | nullrequired

The value of preset.

Show child attributes
idstring | nullrequired

The id ID.

namestringrequired

The name shown to customers.

protocolstringrequired

The value of protocol.

notesstring | nullrequired

Optional notes about the request.

createdAtstring | nullrequired

The provider's own timestamps, in the provider's own format. Kept as strings and parsed where they are rendered: the provider does not promise anything this side could safely read as a date.

updatedAtstring | nullrequired

The date and time for updated at, in UTC.

Errors

401
The key was missing, malformed, revoked, or belongs to an account that no longer exists.
403
Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
404
The resource was not found in the selected team. Resources in another account or team also return 404.
429
Too many requests. The Retry-After header says how many seconds to wait. Limits are per account, so several keys on one account share them.