Lists all platform tokens of your Dynatrace account.
The request produces an application/json payload.
GET
https://api.dynatrace.com/iam/v1/accounts/{accountUuid}/platform-tokens
To execute this request, you need the Allow read access for identity resources (users and groups) (account-idm-read) scope assigned to your token. To learn how to obtain and use it, see OAuth clients.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| accountUuid | string | The ID of the required account. You can find the UUID on the Account Management > Identity & access management > OAuth clients page, during creation of an OAuth client. | path | Required |
| searchTerm | string | Optional search term. Only platform tokens that match values of tokenId, name, createdBy or scope will be returned. | query | Optional |
| status | string | Optional platform token status. Only platform tokens that status matches the value will be returned. | query | Optional |
| page | number | The number of the requested page. | query | Optional |
| size | number | Defines the requested number of entries for the next page. | query | Optional |
| Code | Type | Description |
|---|---|---|
| 200 | Platform | Successful response - platform tokens fetched. |
PlatformTokenPageDto object| Element | Type | Description |
|---|---|---|
| pageSize | number | Page size. |
| pageNumber | number | Page number. |
| total | number | Total count of entries. |
| results | Platform | - |
PlatformTokenDto object| Element | Type | Description |
|---|---|---|
| tokenId | string | - |
| accountUuid | number | - |
| description | string | - |
| name | string | - |
| scope | string[] | - |
| tags | string[] | - |
| resource | string[] | - |
| expirationDate | string | - |
| userUuid | string | - |
| metadata | Platform | - |
PlatformTokenMetadataDto object| Element | Type | Description |
|---|---|---|
| lastUsedAt | string | - |
| lastClientId | string | - |
{"pageSize": 1,"pageNumber": 1,"total": 1,"results": [{"tokenId": "string","accountUuid": 1,"description": "string","name": "string","scope": ["string"],"tags": ["string"],"resource": ["string"],"expirationDate": "string","userUuid": "string","metadata": {"lastUsedAt": "string","lastClientId": "string"}}]}
In this example, the request lists all platform tokens assigned to the accountUuid 2b794097-8ad2-4b32-b923-0131da2eeddf account. The example result is truncated to three entries.
curl -X 'GET' \'https://api-dev.internal.dynatracelabs.com/iam/v1/accounts/2b794097-8ad2-4b32-b923-0131da2eeddf/platform-tokens' \-H 'accept: application/json' \-H 'Authorization: Bearer eywedGciOiJFUzI1NiIsInR7cCI6IkpCDVIsImtpZCI6IjEifQ'
https://api-dev.internal.dynatracelabs.com/iam/v1/accounts/2b794097-8ad2-4b32-b923-0131da2eeddf/platform-tokens
{"pageSize": 1000,"pageNumber": 1,"total": 9,"results": [{"tokenId": "dt0s34.DEFO9UNM","accountUuid": "2b794097-8ad2-4b32-b923-0131da2eeddf","name": "PT_MCP","scope": ["settings:objects:read",],"resource": ["urn:dtaccount:2b794097-8ad2-4b32-b923-0131da2eeddf"],"status": "ACTIVE","expirationDate": "2026-12-01T00:00:00Z","createdAt": "2025-06-23T11:10:21Z","updatedAt": "2025-12-23T11:10:21Z","createdBy": "test.abc@dynatrace.com","owner": "test.abc@dynatrace.com","metadata": {"lastUsedAt": null,"lastClientIp": null}},{"tokenId": "dt0s34.CVB5GHJ","accountUuid": "2b794097-8ad2-4b32-b923-0131da2eeddf","name": "PT_external_access","scope": ["storage:logs:write","storage:logs:read"],"resource": ["urn:dtaccount:2b794097-8ad2-4b32-b923-0131da2eeddf"],"status": "ACTIVE","expirationDate": "2025-10-31T00:00:00Z","createdAt": "2025-09-03T13:59:57Z","updatedAt": "2025-09-03T13:59:57Z","createdBy": "test.abc@dynatrace.com","owner": "e2erf9d3-ed46-3df4-ae4e-2dfg1c8d5678@service.sso.dynatrace.com","metadata": {"lastUsedAt": null,"lastClientIp": null}},{"tokenId": "dt0s34.VBMJOO4W","accountUuid": "2b794097-8ad2-4b32-b923-0131da2eeddf","name": "test abc env","scope": ["app-engine:apps:install"],"resource": ["urn:dtenvironment:yqx04564"],"status": "ACTIVE","expirationDate": "2025-10-07T00:00:00Z","createdAt": "2025-09-30T05:39:56Z","updatedAt": "2025-09-30T05:40:34Z","createdBy": "test2.abc@dynatrace.com","owner": "2d3cd3e8-c456-4b59-958e-220924a345670@service.sso.dynatrace.com","metadata": {"lastUsedAt": null,"lastClientIp": null}},]}
200