Changes the status of public synthetic locations.
The request consumes an application/json payload.
| PUT | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v1/synthetic/locations/status |
| Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/synthetic/locations/status |
To execute this request, you need an access token with ExternalSyntheticIntegration scope.
To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| body | Synthetic | The updated synthetic locations status | body | optional |
SyntheticPublicLocationsStatus objectThe status of public synthetic locations.
| Element | Type | Description | Required |
|---|---|---|---|
| publicLocationsEnabled | boolean | Synthetic monitors can ( | required |
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"publicLocationsEnabled": true}
| Code | Type | Description |
|---|---|---|
| 204 | - | Success. Locations status was updated successfully. |
| 409 | - | Conflict. Public locations could not be disabled since there are monitors assigned to them. |
| 4XX | Error | Client side error. |
| 5XX | Error | Server side error. |