Extensions 2.0 API - PUT a monitoring configuration

Updates the specified monitoring configuration of an Extensions 2.0 extension.

The request consumes and produces an application/json payload.

PUT
  • Managed https://{your-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}
  • Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/v2/extensions/{extensionName}/monitoringConfigurations/{configurationId}

Authentication

To execute this request, you need the Write extension monitoring configurations (extensionConfigurations.write) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.

Parameters

Parameter Type Description In Required
extensionName string

The name of the requested extension 2.0.

path required
configurationId string

The ID of the requested monitoring configuration.

path required
body MonitoringConfigurationUpdateDto

JSON body of the request, containing monitoring configuration parameters.

body optional

Body format

The MonitoringConfigurationUpdateDto object

Element Type Description Required
value JsonNode optional

The JsonNode object

The monitoring configuration

Response

Response codes

Code Description
200

Success

400

Failed. The input is invalid.

404

Failed. The requested resource doesn't exist.

Response body

The MonitoringConfigurationResponse object

Element Type Description
objectId string

The identifier of the new configuration

code integer

The HTTP Status code