Make a document public in Dynatrace with the Document API, granting read access to every user in the environment when the owner or an admin performs it.
| POST | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/document/v1/documents/{id}:makePublic |
You provide the document id in the path to make the document public. The operation returns no content, can be performed by the owner or certain admins, and does nothing if the document is already public.
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 public. |
| 401 | - |
| 403 | - |
| 404 | - |
| 409 | - |
| 500 | - |
| 503 | - |
| default | - |