Skip to content

Update an address in an IP group

PATCH/ip-groups/{firewallIpGroup}/entries/{entry}

Overview

Updates one address entry using value and an optional comment. An address already used by another entry returns 422. Returns the updated group and applies changes to affected servers in the background.

Permissions

Requires the firewall.update (Change the firewall) permission for the selected team. Resources outside that team return 404.

curl --request PATCH \
  --url 'https://console.advinservers.com/api/v1/client/ip-groups/{firewallIpGroup}/entries/{entry}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "value": "192.0.2.45",
  "comment": "Black Mesa VPN gateway"
}'
{
  "id": "145e6e6f-a6b0-4b9e-9060-2d4f017baff8",
  "uuid_short": "Uuid short",
  "name": "Sector C lab",
  "is_default": false,
  "entries": [
    {
      "id": "90c1a65c-b273-44a4-ae39-9f9e3c08c8b7",
      "value": "192.0.2.0/28",
      "comment": "Anomalous Materials test lab LAN"
    },
    {
      "id": "936a228e-b576-4779-892b-ac30590dbe18",
      "value": "192.0.2.45",
      "comment": "Black Mesa VPN gateway"
    }
  ],
  "rules_count": 1,
  "created_at": "2026-03-02T19:24:51+00:00",
  "used_by": [
    {
      "id": "72a4a737-236f-456f-827f-6145d9c95727",
      "name": "Lambda Complex ingress",
      "rules_count": 1
    }
  ]
}

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

firewallIpGroupstringrequired

The firewall ip group uuid short

entrystringrequired

The entry uuid short

Body

application/json
valuestringrequired

The value of value.

At most 45 characters

commentstring | null

The value of comment.

At most 255 characters

Response 200

application/json

The record, as a JSON object. There is no envelope.

idstringrequired

The id ID.

uuid_shortstringrequired

The value of uuid_short.

namestringrequired

The name shown to customers.

is_defaultbooleanrequired

A list every account shares and only staff change, so it cannot be renamed, edited or deleted here.

entriesobject[]required

The value of entries.

Show child attributes
idstringrequired

The id ID.

uuid_shortstringrequired

The value of uuid_short.

valuestringrequired

The value of value.

commentstring | nullrequired

What the customer wrote down about why this address is on the list.

rules_countintegerrequired

How many firewall rules point at this group - what makes it unsafe to delete, so the list needs it even without the detail below.

created_atstring | nullrequired

The date and time for created at, in UTC.

used_byobject[] | null

Which firewall groups use this one, named.

Show child attributes
idstringrequired

The id ID.

uuid_shortstringrequired

The value of uuid_short.

namestringrequired

The name shown to customers.

rules_countintegerrequired

The number of rules count.

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.
422
A field is missing or invalid, or the resource cannot accept this change in its current state. Check message for details. Field validation also includes an errors object keyed by field name.
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.