Dynatrace · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Dynatrace Account Management Platform Tokens API

6 actions 6 updates phrasing extends openapi/dynatrace-platform-tokens-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Dynatrace's API. It is a proposal applied on top of the contract, not a document Dynatrace publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/iam/v1/accounts/{account-uuid}/platform-tokens'].get
$.paths['/iam/v1/accounts/{account-uuid}/platform-tokens'].post
$.paths['/iam/v1/accounts/{account-uuid}/platform-tokens/{platform-token-id}'].delete
$.paths['/iam/v1/accounts/{account-uuid}/platform-tokens/{platform-token-id}/expiration-date'].put
$.paths['/iam/v1/accounts/{account-uuid}/platform-tokens/{platform-token-id}/status'].put

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Dynatrace Account Management Platform Tokens API
  version: 1.0.0
extends: openapi/dynatrace-platform-tokens-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/iam/v1/accounts/{account-uuid}/platform-tokens'].get
  update:
    x-apievangelist-phrasing:
      intent: List platform tokens in an account
      effect: read
      questions:
      - Which platform tokens exist in my account and who owns them?
      - Can I search platform tokens by name or filter by status?
      instructions:
      - text: List platform tokens in account {account}.
        slots:
          account: path.account-uuid
      - text: Find platform tokens on {account} matching {term} with status {status}.
        slots:
          account: path.account-uuid
          term: query.searchTerm
          status: query.status
      method: generated
      generated: '2026-09-26'
- target: $.paths['/iam/v1/accounts/{account-uuid}/platform-tokens'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a platform token for a user
      effect: write
      questions:
      - How do I generate a platform token with specific scopes for a user?
      - Can I set an expiration date when creating a platform token?
      instructions:
      - text: Create platform token {name} for user {user} in {account} with scope {scope} on {resource}, tags {tags}, expiring {expires}.
        slots:
          name: requestBody.name
          user: requestBody.userUuid
          account: path.account-uuid
          scope: requestBody.scope
          resource: requestBody.resource
          tags: requestBody.tags
          expires: requestBody.expirationDate
      - text: Generate a token named {name} for {user} on account {account}, scope {scope}, expiring {expires}.
        slots:
          name: requestBody.name
          user: requestBody.userUuid
          account: path.account-uuid
          scope: requestBody.scope
          expires: requestBody.expirationDate
      method: generated
      generated: '2026-09-26'
- target: $.paths['/iam/v1/accounts/{account-uuid}/platform-tokens/{platform-token-id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a platform token
      effect: destructive
      questions:
      - How do I permanently delete a leaked platform token?
      - Can I remove a platform token from the account entirely?
      instructions:
      - text: Delete platform token {token} from account {account}.
        slots:
          token: path.platform-token-id
          account: path.account-uuid
      - text: Remove token {token} on {account} permanently.
        slots:
          token: path.platform-token-id
          account: path.account-uuid
      method: generated
      generated: '2026-09-26'
- target: $.paths['/iam/v1/accounts/{account-uuid}/platform-tokens/{platform-token-id}/expiration-date'].put
  update:
    x-apievangelist-phrasing:
      intent: Change a platform token's expiration date
      effect: write
      questions:
      - Can I extend a platform token before it expires?
      - Is it possible to shorten when an existing token expires?
      instructions:
      - text: Set platform token {token} in {account} to expire on {expires}.
        slots:
          token: path.platform-token-id
          account: path.account-uuid
          expires: requestBody.expirationDate
      - text: Extend token {token} on account {account} until {expires}.
        slots:
          token: path.platform-token-id
          account: path.account-uuid
          expires: requestBody.expirationDate
      method: generated
      generated: '2026-09-26'
- target: $.paths['/iam/v1/accounts/{account-uuid}/platform-tokens/{platform-token-id}/status'].put
  update:
    x-apievangelist-phrasing:
      intent: Enable or disable a platform token
      effect: write
      questions:
      - Can I temporarily disable a platform token without deleting it?
      - What's the way to reactivate a token I switched off?
      instructions:
      - text: Set the status of platform token {token} in {account} to {status}.
        slots:
          token: path.platform-token-id
          account: path.account-uuid
          status: requestBody.status
      - text: Disable token {token} on account {account} by setting status {status}.
        slots:
          token: path.platform-token-id
          account: path.account-uuid
          status: requestBody.status
      method: generated
      generated: '2026-09-26'