Failure detection API - PUT change the ID of a detection rule

Changes the ID of the specified failure detection rule.

The request consumes an application/json payload.

PUTSaaShttps://{your-environment-id}.live.dynatrace.com/api/config/v1/service/failureDetection/parameterSelection/rules/{id}/changeId
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/service/failureDetection/parameterSelection/rules/{id}/changeId

Authentication

To execute this request, you need an access token with WriteConfig scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

The ID of the required failure detection rule. Needs to be a valid RFC 4122 UUID.

pathrequired
bodyEntityShortRepresentation

The JSON body of the request. Contains the new ID of the rule. All other fields are ignored.

bodyrequired

Request body objects

The EntityShortRepresentation object

The short representation of a Dynatrace entity.

ElementTypeDescriptionRequired
descriptionstring

A short description of the Dynatrace entity.

optional
idstring

The ID of the Dynatrace entity.

required
namestring

The name of the Dynatrace entity.

optional

Request body JSON model

This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.

{
"description": "Dynatrace entity for the REST API example",
"id": "6a98d7bc-abb9-44f8-ae6a-73e68e71812a",
"name": "Dynatrace entity"
}

Response

Response codes

CodeTypeDescription
200-

Success

400ErrorEnvelope

Failed. The input is invalid.