Network zones API - DELETE a network zone

Deletes the specified network zone. Deletion cannot be undone!

You can only delete an empty network zone (a zone that no ActiveGate or OneAgent is using). If the network zone is used as an alternative zone for any OneAgent, it will be automatically removed from the list of possible alternatives.

DELETE

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

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
id
string

The ID of the network zone to be deleted.

path
required

Response

Response codes

Code
Type
Description
204
-

Deleted. Response doesn't have a body.

400

Failed. See error message in the response body for details.

4XX

Client side error.

5XX

Server side error.