cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

Using CMC API to collect API-tokes name not shown

henk_stobbe
DynaMight Champion
DynaMight Champion

Hello,

 

When querying the CMC API for API-Tokens the name is not visible, what am I doing wrong?

 

KR Henk

 

 

3 REPLIES 3

Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

I suspect you are refering to the endpoint /api/cluster/v1/tokens

You are not doing anything wrong. It's just not all the tokens have names set. For instance, a token that is not created by user but by the installer or a backend.

Take a closer look at the results. I'm sure you will find user-generated tokens with names.


Senior Product Manager,
Dynatrace Managed expert

Sorry, none of them have a name, but there must be 5 named ones.


Please check the details of some by GETting them by ID. Do they have a name inside ?


Senior Product Manager,
Dynatrace Managed expert

Featured Posts