Page tree

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

Compare with Current View Page History

« Previous Version 6 Next »


Knowledge Base


Feedback

Have a suggestion for the Armor Knowledge Base?

Send a message to
kb@armor.com.









Overview

Error rendering macro 'excerpt-include'

No link could be created for 'Complete users API (snippet)'.

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

Error rendering macro 'excerpt-include'

No link could be created for 'API table parts (snippet)'.

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

Error rendering macro 'excerpt-include'

No link could be created for 'Parameters to include (snippet)'.

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