Latest Dynatrace
Creates an IP allowlist configuration for a specific environment.
The request produces an application/json payload.
PUT
https://api.dynatrace.com/env/v1/accounts/environments/{environmentUuid}/ip-allowlist
To execute this request, you need the following permissions assigned to your token.
account-env-write)account-env-read)To learn how to obtain and use these permissions, see OAuth clients.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| accountUuid | string | - | path | Required |
| environmentUuid | string | - | path | Required |
| body | Ip | The body of the request. Contains the key and serialized value for setting a ip config for a specific tenant on a specific cluster. | body | Required |
IpConfigDto object| Element | Type | Description | Required |
|---|---|---|---|
| enabled | boolean | If enabled the ip config allow list gets applied. | Required |
| allowWebhookOverride | boolean | If enabled the webhook ip allowlists will ignore the main allowlist CIDR range limitations. | Required |
| allowlist | Allowlist | Contains a list of valid IP addresses in CIDR format which are allowed. If enabled it must not be empty. | Optional |
AllowlistItem object| Element | Type | Description | Required |
|---|---|---|---|
| name | string | The name of the list. | Required |
| ipRange | string | One ip address or the range of ip addresses. Supports the CIDR format. | Required |
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"enabled": true,"allowWebhookOverride": true,"allowlist": [{"name": "Some IP-range","ipRange": "10.0.0.0/32"}]}
| Code | Description |
|---|---|
| 201 | Success. The IP configuration has been successfully set. |