cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using CMC API to collect API-tokes name not shown

henk_stobbe
Mentor

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 Leader
Dynatrace Leader

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.


Technical 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 ?


Technical Product Manager,
Dynatrace Managed expert