Settings API - Access tokens schema table
Access tokens (builtin:tokens.token-settings)
Configure Dynatrace API access token and personal access token generation. For details about tokens and authentication go to Dynatrace API authentication documentation.
To create an access token go to Access tokens (<your-dynatrace-url>//ui/access-tokens
).
Schema ID | Schema groups | Scope |
---|---|---|
builtin:tokens.token-settings |
| environment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:tokens.token-settings |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:tokens.token-settings | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:tokens.token-settings |
Authentication
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Property | Type | Description | Required |
---|---|---|---|
Create Dynatrace API tokens in the new formatnewDynatraceTokenFormatEnabled | boolean | Check out this blog post to find out more about the new Dynatrace API token format. | required |
Enable personal access tokenspatEnabled | boolean | Allow users of this environment to generate personal access tokens based on user permissions. Note that existing personal access tokens will become unusable while this setting is disabled. | required |