07 Nov 2019 02:40 AM - last edited on 16 Dec 2021 02:49 AM by MaciejNeumann
When querying the CMC API for API-Tokens the name is not visible, what am I doing wrong?
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.
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 ?