Try it free

Permanently delete a trashed document

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Permanently delete a trashed document in Dynatrace with the Document API, irreversibly destroying the deleted document for its owner.

DELETESaaShttps://{your-environment-id}.apps.dynatrace.com/platform/document/v1/trash/documents/{id}

Overview

You provide the document id in the path and may use admin-access in the query. The operation returns no content and permanently destroys the deleted document.

Authentication

To execute this request, you need a platform token or OAuth access token with document:trash.documents:delete scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
idstring

System-generated or user-given id of a document.

pathRequired
admin-accessboolean

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.

queryOptional

Response

Response codes

CodeDescription
204

The document has been permanently deleted.

401-
403-
404-
500-
503-
default-
Related tags
Platform APIDynatrace Platform