Update Security Zone (v2.0)
PUT/v2.0/api/tenants/:tenant_id/sites/:site_id/sitesecurityzones/:zone_id
Update an existing security zone.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
site_id stringrequired
The ID of the site.
zone_id stringrequired
The ID of the site security zone.
- application/json
Body
Details of the site security zone to be updated
- Array [
- ]
id string
The ID of the security zone.
networks SiteContext[]required
The details of the network and network type.
network_id string
The ID of the network.
network_type stringrequired
Possible values: [wan_network
, lan_network
, wan_overlay
]
The network type.
zone_id stringrequired
The ID of the security zone.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id string
The ID of the security zone.
networks SiteContext[]required
The details of the network and network type.
network_id string
The ID of the network.
network_type stringrequired
Possible values: [wan_network
, lan_network
, wan_overlay
]
The network type.
zone_id stringrequired
The ID of the security zone.
{
"id": "string",
"networks": [
{
"network_id": "string",
"network_type": "wan_network"
}
],
"zone_id": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
message string
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_JSON_COMMON_ATTR_MISMATCH"
},
{
"code": "SECURITYZONE_INVALID_ZONE"
},
{
"code": "SECURITYZONE_INVALID_CONTEXT"
}
]
}
}
Loading...