Classic API tokens use broad, coarse-grained scopes that are difficult to audit. Latest Dynatrace uses platform tokens and OAuth clients with capability-based scoping for improved security and traceability. For Phase 3 environments, classic API token creation is disabled; all new integrations must use platform tokens. Before opting into Phase 3, audit all classic API token usage and migrate any automation that calls blocked endpoints. These best practices help you plan and execute that migration.
Before opting into Phase 3, perform a complete audit of all classic API tokens and their active endpoints. Phase 3 disables access to blocked endpoints and prevents creation of new classic API tokens.
For each classic API token, document:
Build a migration list in the format: token → endpoint → latest equivalent → responsible team. Do not revoke tokens before confirming all consumers are identified. Classic tokens used by undocumented scripts or third-party tools break silently when revoked without warning.
Every classic API endpoint in Phase 3 falls into one of three categories:
| Category | Meaning | Action required |
|---|---|---|
BLOCK | Endpoint disabled entirely; the feature is removed or replaced by a Latest Dynatrace alternative | Must be migrated before opting into Phase 3 |
FROZEN | Endpoint remains accessible; existing classic API tokens still work; new integrations require platform tokens | Existing tokens work; new integrations must use OAuth |
ALT | Endpoint is deprecated; the same data is accessible through an existing platform service such as Settings API or DQL | Existing tokens work; migration is recommended |
Key blocked endpoints for App Observability that require migration before Phase 3:
config/v1/calculatedMetrics/service: migrate to OpenPipeline metric extraction using the Calculated service metrics upgrade guideconfig/v1/service/detectionRules/*: migrate to Settings 2.0 APIconfig/v1/service/failureDetection/*: migrate to Settings 2.0 APIKey frozen endpoints that continue to work with classic tokens but require platform tokens for new integrations:
v2/otlp: requires OAuth scope openTelemetryTrace.ingest for new integrationsv2/logs/ingest: requires OAuth scope logs.ingest for new integrationsconfig/v1/service/customServices: new IAM permission required (schema ID builtin:settings.custom-service-detection)config/v1/service/requestAttributes: new IAM permission required (schema ID builtin:request-attributes)config/v1/service/requestNaming: new IAM permission required (schema ID builtin:request-naming)Any automation that calls a blocked endpoint will stop working immediately after Phase 3 opt-in. Prioritize migrating blocked endpoint consumers before initiating the Phase 3 transition.
To migrate each blocked endpoint
Keep a migration checklist for blocked endpoints and confirm all items are resolved before scheduling Phase 3 opt-in. One missed blocked endpoint that powers a critical integration can cause an outage after opt-in.
For each integration or team that needs access to Latest Dynatrace platform APIs, create a dedicated OAuth client with the minimum scopes required for the specific endpoints the integration calls.
To create an OAuth client
Avoid creating a single shared OAuth client for multiple integrations or teams. Separate OAuth clients per integration make it easier to rotate credentials, audit access, and revoke specific integrations without affecting others.
Overly broad OAuth client scopes reduce the security benefit of migrating from classic tokens. Map the minimum required scope for each integration before creating the OAuth client; do not copy the broad scope pattern of classic API tokens.
CI/CD pipelines and automation scripts are the most common consumers of classic API tokens and the most time-consuming to migrate, because they often require coordination with teams that own the pipeline infrastructure. Start this migration early in the upgrade process.
For each CI/CD pipeline that calls classic Dynatrace APIs
Third-party tool vendors may need time to update their Dynatrace integration configurations. Contact vendors early to understand their timeline and whether their tool already supports platform tokens.
Return to Upgrade your API integrations and tokens to continue your upgrade.