Inspect a trashed document in Dynatrace with the Document API, retrieving metadata for a deleted document that only its owner can view.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/document/v1/trash/documents/{id} |
You provide the document id in the path and may use admin-access in the query. The operation returns metadata for the deleted document.
To execute this request, you need a platform token or OAuth access token with document:trash.documents:read scope. To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| id | string | System-generated or user-given id of a document. | path | Required |
| admin-access | boolean | Indicates whether the operation should be performed with elevated permissions - additionally requires document:documents:admin. If provided, the user effectively operates as owner of all documents. This isn't supported for ready-made documents. | query | Optional |
| Code | Description |
|---|---|
| 200 | - |
| 401 | - |
| 403 | - |
| 404 | - |
| 500 | - |
| 503 | - |
| default | - |