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.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

PUT
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/service/failureDetection/parameterSelection/rules/reorderRules
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/service/failureDetection/parameterSelection/rules/reorderRules
  • Environment ActiveGate https://{your-activegate-domain}/e/{your-environment-id}/api/config/v1/service/failureDetection/parameterSelection/rules/reorderRules

Authentication

To execute this request, you need the Write configuration (WriteConfig) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.

Parameters

Parameter Type Description In Required
body FdpSelectionRuleOrder

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

body optional

Body format

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

Response

Response codes

Code Description
200

Success

400

Failed. The input is invalid.

Response body

A successful request doesn't return any content.