Get basic license information in Dynatrace with the Platform Management API for the current environment, including its license details.
| GET | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/management/v1/environment/license |
You provide no parameters, and the operation returns the license info for the current environment. Use it to retrieve basic license information from Dynatrace through the Platform Management API.
To execute this request, you need a platform token or OAuth access token with one of the following scopes:
app-engine:apps:runapp-engine:functions:runplatform-management:environments:readTo learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
| Code | Type | Description |
|---|---|---|
| 200 | License | The license info of the requested environment. |
| 400 | - | - |
| 401 | - | - |
| 404 | - | - |
| 503 | - | - |
| default | - | - |
License object| Element | Type | Description |
|---|---|---|
| trial | boolean | - |
| platformSubscription | boolean | - |
{"trial": true,"platformSubscription": true}