07 Nov 2019 10:40 AM - last edited on 16 Dec 2021 10:49 AM by MaciejNeumann
Hello,
When querying the CMC API for API-Tokens the name is not visible, what am I doing wrong?
KR Henk
07 Nov 2019 12:25 PM
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.
08 Nov 2019 03:13 PM
Sorry, none of them have a name, but there must be 5 named ones.
08 Nov 2019 05:30 PM
Please check the details of some by GETting them by ID. Do they have a name inside ?