Platform management service
The Platform Management Service (PMS) can retrieve license and settings information in a Dynatrace environment.
Concepts
You need to know the following concepts to work with the PMS.
License
Every environment has some information related to the license. This license API includes the following:
trial
: A boolean value that tells whether an environment is a trial environment.platformSubscription
: A boolean that tells whether an environment has an enabled Dynatrace Platform Subscription (DPS) license.
License settings
Every environment has license-related settings represented by a list of key and value pairs available at /environment/license/settings
.
Environment
Technical information about the environment is provided, such as:
environmentId
: the actual environment ID corresponding to the canonical URL of<environmentId>.apps.dynatrace.com
createTime
: timestamp in ISO 8601 of when the environment was created.
Environment settings
Every environment has some settings that include the following:
chatEnabled
: A boolean that tells if the chat feature is active for the environment.countryCode
: An ISO3166-1 alpha-2 two letter country code. For further details, visit Wikipedia.
Environment effective permissions
Provides information on whether the calling user has specific IAM permissions (or scopes) as listed in the IAM service reference page
for the environment.
As explained in Authentication, access to Dynatrace API endpoints is only allowed if the calling user is granted the corresponding scope using some policy and group assignment.
The effective-permissions
endpoint / the corresponding SDK method can be used to check a user's permissions before the endpoint guarded by that scope is called. For more information, visit the Query user permissions guide and learn how to use the SDK.