Remove a document from favorites in Dynatrace with the Document API, clearing the calling user’s personal favorite even if read access is no longer available.
| POST | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/document/v1/documents/{id}:unfavorite |
You provide the document id in the path to remove it from your personal favorites. The operation returns no content, does not require read access, and does nothing if the document is not already a favorite.
To execute this request, you need a platform token or OAuth access token with document:documents:read 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 removed from favorites. |
| 401 | - |
| 404 | - |
| 500 | - |
| 503 | - |
| default | - |