Updates the global configuration of network zones in your environment.
The request consumes an application/json payload.
PUT
To execute this request, you need the Write network zones (networkZones.write) permission assigned to your API token. To learn how to obtain and use it, see Authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| body | Network | The JSON body of the request. Contains global configuration of network zones. | body | Required |
NetworkZoneSettings objectGlobal network zone configuration.
| Element | Type | Description | Required |
|---|---|---|---|
| networkZonesEnabled | boolean | Network zones feature is enabled ( | Optional |
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"networkZonesEnabled": true}
| Code | Type | Description |
|---|---|---|
| 204 | - | Success. The global network zones configuration has been updated. Response doesn't have a body. |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |
ErrorEnvelope object| Element | Type | Description |
|---|---|---|
| error | Error | - |
Error object| Element | Type | Description |
|---|---|---|
| code | integer | The HTTP status code |
| constraintViolations | Constraint | A list of constraint violations |
| message | string | The error message |
ConstraintViolation objectA list of constraint violations
| Element | Type | Description |
|---|---|---|
| location | string | - |
| message | string | - |
| parameterLocation | string | -The element can hold these values
|
| path | string | - |
{"error": {"code": 1,"constraintViolations": [{"location": "string","message": "string","parameterLocation": "HEADER","path": "string"}],"message": "string"}}