Try it free

Make a document private

  • Latest Dynatrace
  • Reference
  • Published Oct 13, 2026

Make a document private in Dynatrace with the Document API, revoking environment-wide read access when the owner or an admin performs it.

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

Overview

You provide the document id in the path to make the document private again. The operation returns no content, can be performed by the owner or certain admins, and does nothing if the document is already private.

Authentication

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.

Parameters

The request doesn't provide any configurable parameters.

Response

Response codes

CodeDescription
204

The document has been made private.

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