Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Overview

This API call only applies to Armor Complete users.

The Update Firewall Group API updates details for a specific firewall group.   

You can use the Get Firewall Groups API to find the group ID (id). 

Sample request

PUT https://api.armor.com/firewall/2/groups/8
{
      "id": 8,
      "deviceId": 2,
      "name": "Local IP",
      "description": "",
      "type": "group",
      "values": ["192.158.1.1"],
      "isReadonly": false
}

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/firewall/{deviceId}/groups/{id}PUT

The following table describes the parameter (or parameters) for this API call:

ParameterDescriptionFormatRequired or optionalExample
deviceIdThe ID of the deviceIntegerRequired2
idThe ID of the firewall groupIntegerRequired8
nameThe name of the firewall groupStringRequiredLocal IP
descriptionA description for the firewall groupStringOptional""
type"group," "any"enumRequiredgroup
valuesNetwork addressesArrayRequired192.158.1.1
isReadonly

Reserved for Armor-defined groups

(You must enter false.)

BooleanRequiredfalse

Sample return

StatusResponse
200
{
 "id": 8,
 "deviceId": 2,
 "name": "Local IP",
 "description": "",
 "type": "group",
 "values": [
   "192.158.1.1"
 ],
 "isReadonly": false
}
404
no content