Failure detection API - PUT reorder rules

Reorders the failure detection rules according to the order of the IDs in the body of the request.

Rules that are omitted from the body of the request retain their relative order but are placed after all those present in the request.

The request consumes an application/json payload.

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

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

Parameter
Type
Description
In
Required
body

The JSON body of the request. Contains the failure detection rules in the required order.

body
required

Request body objects

The FdpSelectionRuleOrder object

The order of the rules in the ruleset.

Element
Type
Description
Required
ruleIds
string[]

A list of the rule IDs. The rules in the ruleset are arranged such that their IDs form the same sequence as this list. The ID of each rule in the ruleset must occur exactly once in the list.

required

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.

{
"ruleIds": [
"R1",
"RZa",
"RZb"
]
}

Response

Response codes

Code
Type
Description
200
-

Success

400

Failed. The input is invalid.