Synthetic locations API v2 - GET public locations status
Shows the status of public synthetic locations.
The request produces an application/json
payload.
GET | ManagedDynatrace for Government | https://{your-domain}/e/{your-environment-id}/api/v2/synthetic/locations/status |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/synthetic/locations/status | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/synthetic/locations/status |
Authentication
To execute this request, you need an access token with syntheticLocations.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
Parameters
The request doesn't provide any configurable parameters.
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Synthetic | Success. The response contains the public locations status. |
Response body objects
The SyntheticPublicLocationsStatus
object
The status of public synthetic locations.
Element | Type | Description |
---|---|---|
publicLocationsEnabled | boolean | Synthetic monitors can ( |
Response body JSON model
{
"publicLocationsEnabled": true
}