Network zones API - PUT global configuration

Updates the global configuration of network zones in your environment.

The request consumes an application/json payload.

PUT

  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/networkZoneSettings

Authentication

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.

Parameters

Parameter
Type
Description
In
Required
body

The JSON body of the request. Contains global configuration of network zones.

body
required

Request body objects

The NetworkZoneSettings object

Global network zone configuration.

Element
Type
Description
Required
networkZonesEnabled
boolean

Network zones feature is enabled (true) or disabled (false).

optional

Request body JSON model

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
}

Response

Response codes

Code
Type
Description
204
-

Success. The global network zones configuration has been updated. Response doesn't have a body.

4XX

Client side error.

5XX

Server side error.