Make a document private in Dynatrace with the Document API, revoking environment-wide read access when the owner or an admin performs it.
| POST | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/document/v1/documents/{id}:makePrivate |
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.
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 |
|---|---|
| 204 | The document has been made private. |
| 401 | - |
| 403 | - |
| 404 | - |
| 409 | - |
| 500 | - |
| 503 | - |
| default | - |