NodeRingsDocs

Update Firewall Address Group

Update Firewall Address Group on the NodeRings client API (PATCH /v1/firewall/address-groups/{id}).

PATCH
/v1/firewall/address-groups/{id}
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Path Parameters

idstring
group?

FirewallAddressGroupInput is the client-provided payload for create/update. Clients must not provide id/timestamps (those are server-controlled).

Response Body

application/json

curl -X PATCH "https://api.noderings.com/v1/firewall/address-groups/{id}" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}" \  -H "Content-Type: application/json" \  -d '{  "group": {    "name": "string",    "prefixes": [      {        "ip": "string",        "prefix": 0      }    ]  }}'
{
  "id": "string",
  "name": "string",
  "prefixes": [
    {
      "ip": "string",
      "prefix": 0
    }
  ],
  "timestamps": {
    "createTime": "2019-08-24T14:15:22Z",
    "updateTime": "2019-08-24T14:15:22Z"
  }
}