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

https://api.dynatrace.com/env/v1/accounts/environments/{environmentUuid}/ip-allowlist

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

ParameterTypeDescriptionInRequired
accountUuidstring-pathrequired
environmentUuidstring-pathrequired

Response

Response codes

CodeTypeDescription
200IpConfigDto

The IP configuration has been successfully fetched.

Response body objects

The IpConfigDto object

ElementTypeDescription
enabledboolean

If enabled the ip config allow list gets applied.

allowlistAllowlistItem[]

Contains a list of valid IP addresses in CIDR format which are allowed. If enabled it must not be empty.

The AllowlistItem object

ElementTypeDescription
namestring

The name of the list.

ipRangestring

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"
}
]
}