Page tree

Overview

This API call only applies to Armor Complete users.

The Put Firewall Service API updates the details for a firewall service group.   


Sample request

PUT https://api.armor.com/firewall/2/services/4
{
      "id": 4,
      "deviceId": 2,
      "location": "DFW01",
      "accountId": 0,
      "name": "HTTP",
      "description": "Use this for inbound HTTP traffic",
      "values": [{
                  "protocol": "tcp",
                  "port": "80"
            }
      ]
}

Input

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

API Call / URLMethod / Type
/firewall/{deviceId}/services/{serviceGroupId}PUT

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

ParameterDescriptionFormatRequired or optionalExample
deviceIdThe ID of the deviceIntegerRequired2
serviceGroupIdThe ID of the service groupIntegerRequired4

Sample return

StatusResponse
200
{
      "id": 4,
      "deviceId": 2,
      "location": "DFW01 ",
      "name": "HTTP",
      "description": "Use this for inbound HTTP traffic",
      "values": [{
                  "port": 80,
                  "protocol": "tcp",
                  "subprotocol": null
            }
      ]
}