Environment management API - GET IP allowlist configuration
Preview Latest Dynatrace
Lists IP allowlist configuration for a specific environment.
The request produces an application/json
payload.
GET |
|
Authentication
To execute this request, you need the Allow read access for environment resources (account-env-read
) scope assigned to your token. To learn how to obtain and use it, see Authentication.
Parameters
Parameter
Type
Description
In
Required
accountUuid
string
-
path
required
environmentUuid
string
-
path
required
Response
Response codes
Code
Type
Description
Response body objects
The IpConfigDto
object
Element
Type
Description
enabled
boolean
If enabled the ip config allow list gets applied.
allowlist
Contains a list of valid IP addresses in CIDR format which are allowed. If enabled it must not be empty.
The AllowlistItem
object
Element
Type
Description
name
string
The name of the list.
ipRange
string
One ip address or the range of ip addresses. Supports the CIDR format.
Response body JSON model
{"enabled": true,"allowlist": [{"name": "Some IP-range","ipRange": "10.0.0.0/32"}]}