This API is deprecated. Use the Settings API instead. Look for the Remote environment (builtin:remote.environment) schema.
Lists all remote environment configurations.
The request produces an application/json payload.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/remoteEnvironments |
| Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/remoteEnvironments |
To execute this request, you need an access token with ReadConfig scope.
To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
| Code | Type | Description |
|---|---|---|
| 200 | Remote | Success |
RemoteEnvironmentConfigListDto object| Element | Type | Description |
|---|---|---|
| values | Remote | - |
RemoteEnvironmentConfigStub objectThe short representation of a remote environment.
| Element | Type | Description |
|---|---|---|
| id | string | - |
| name | string | - |
| networkScope | string | The network scope of the remote environment:
Dynatrace SaaS can only use If not set,
|
| uri | string | The display name of the remote environment. |
{"values": [{"id": "string","name": "string","networkScope": "CLUSTER","uri": "string"}]}
In this example, the request asks for a list of all the remote environment configurations in the mySampleEnv environment.
The API token is passed in the Authorization header.
The result is truncated to two entries.
curl -X GET \https://mySampleEnv.live.dynatrace.com/api/config/v1/remoteEnvironments/ \-H 'Accept: application/json; charset=utf-8' \-H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'
https://mySampleEnv.live.dynatrace.com/api/config/v1/remoteEnvironments/
{"values": [{"id": "b597955c-4706-40f6-b188-212faba25e1f","name": "Production North","uri": "https://prodNorth.live.dynatrace.com","networkScope": "EXTERNAL"},{"id": "4f3b0f62-6ec0-407d-be50-5109a8516edf","name": "Production South","uri": "https://prodSouth.live.dynatrace.com","networkScope": "EXTERNAL"}]}
200