List Cluster token metadata with id

Lists metadata of a Dynatrace Cluster token by the ID of the token.




Parameter Type Description In Required
id string

The ID of the required token.

path required


Response codes

Code Description



Failed. The requested token has not been found.

Response body

The TokenMetadata object

Metadata of a token.

Element Type Description
id string

The ID of the token.

name string

The name of the token.

userId string

The owner of the token.

revoked boolean

Revocation status of the token. Revoked tokens are disabled.

created integer

The creation time as a unix timestamp in milliseconds.

expires integer

The expiration time as a unix timestamp in milliseconds.

lastUse integer

The unix timestamp in milliseconds when the token was last used.

scopes string[]

A list of scopes assigned to the token.

personalAccessToken boolean

The token is a personal access token (true) or an API token (false).


In this example, the request queries the metadata of the token, which has the ID of 4e9f128e-04f9-4795-pj319-8b7c-3c14a5e885e4.


curl -X GET ""
        -H  "accept: application/json; charset=utf-8"

Request URL

Response body

  "id": "4e9f128e-04f9-4795-pj319-8b7c-3c14a5e885e4",
  "name": "myToken",
  "userId": "john.smith",
  "revoked": true,
  "created": 1554076800000,
  "expires": 1585976400000,
  "lastUse": 1554354000000,
  "scopes": [

Response code