Update Security Zone (v2.0)
PUT/v2.0/api/tenants/:tenant_id/securityzones/:zone_id
Update an existing the security zone.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
zone_id stringrequired
ID of the security zone.
- application/json
Body
Details of the security zone to be updated
description
The description of the security zone. Max size = 256.
id string
The security zone ID.
name stringrequired
The name of the zone. Max size = 128.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
description
The description of the security zone. Max size = 256.
id string
The security zone ID.
name stringrequired
The name of the zone. Max size = 128.
{
"id": "string",
"name": "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": "SECURITYZONE_DUPLICATE_ZONE"
},
{
"code": "SECURITYZONE_NAME_INVALID"
},
{
"code": "SECURITYZONE_DESCRIPTION_INVALID"
},
{
"code": "JSON_SCHEMA_MISMATCH"
},
{
"code": "SECURITYZONE_NAME_REQUIRED"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
}
]
}
}
Loading...