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.
PUT | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/service/failureDetection/parameterSelection/rules/{id}/changeId |
Environment ActiveGate | https://{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
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string | The ID of the required failure detection rule. Needs to be a valid RFC 4122 UUID. | path | required |
body | Entity | The JSON body of the request. Contains the new ID of the rule. All other fields are ignored. | body | required |
Request body objects
The EntityShortRepresentation
object
The short representation of a Dynatrace entity.
Element | Type | Description | Required |
---|---|---|---|
description | string | A short description of the Dynatrace entity. | optional |
id | string | The ID of the Dynatrace entity. | required |
name | string | 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
Code | Type | Description |
---|---|---|
200 | - | Success |
400 | Error | Failed. The input is invalid. |