Restore a snapshot in Dynatrace with the Document API, resetting the document to a previous state and creating a new snapshot when needed.
| POST | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/document/v1/documents/{id}/snapshots/{snapshot-version}:restore |
You pass the snapshot-version in the path and the document id, and the operation requires write-access to the document. The response confirms the document was restored and a new snapshot was created.
To execute this request, you need a platform token or OAuth access token with document:documents:write scope. To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
| Code | Description |
|---|---|
| 200 | - |
| 401 | - |
| 403 | - |
| 404 | - |
| 409 | - |
| 500 | - |
| 503 | - |
| default | - |