Try it free

Restore a scheduling rule history record

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Restore a scheduling rule history record in Dynatrace Automation API by UUID and version to recover a previous rule state.

POSTSaaShttps://{your-environment-id}.apps.dynatrace.com/platform/automation/v1/scheduling-rules/{id}/history/{version}/restore

Overview

You use the id and version path parameters to choose the historical record to restore. The operation returns no response body.

Authentication

To execute this request, you need a platform token or OAuth access token with automation:rules:write scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

A UUID string identifying this rule.

pathRequired
versionstring-pathRequired

Response

Response codes

CodeTypeDescription
200-

No response body

4XXErrorEnvelope-

Response body objects

The ErrorEnvelope object

ElementTypeDescription
errorError-

The Error object

ElementTypeDescription
messagestring-
codeinteger-
detailsErrorDetails-

The ErrorDetails object

ElementTypeDescription
errorCodestring-
errorRefstring-

Response body JSON models

{
"error": {
"message": "string",
"code": 1,
"details": {
"errorCode": "string",
"errorRef": "string"
}
}
}
Related tags
Platform APIDynatrace Platform