23 Dec 2019 04:20 PM - last edited on 06 May 2021 03:54 PM by MaciejNeumann
Hi,
To consume a Dashboard via API REST (Dynatrace Managed), you must have an API token with the permission "Read configuration", as documentation shows:
But what exactly this permission enables? Only a dashboard? Or something else?
I can't find any related topic about this permission.
Thanks!
Dani
Solved! Go to Solution.
23 Dec 2019 09:07 PM
Hey @Daniel Busquets de D., The "Read Configuration" permission allows you to generate and the authenticate the API token so that it can be used within the API. Support states that this is required If you want to use the token with the API.
Please let me know if you have any questions.
Also, If you feel that this answer is a Quality Answer to your question, please feel free to mark it as the "Best Answer" as well as reward the user who provided it by clicking "Reward User"
23 Dec 2019 09:57 PM
Hi Chad,
Thank you! but what I'm really doubting is about which things can you do with the permission "Read configuration" apart from getting a dashboard in Json.
Documentation says: "To execute this request (Dashboard consuming via API), you need the Read configuration permission assigned to your API token. See the Authentication page to learn how to obtain and use it. "
So, with "Read configuration", which other actions could you perform on the server, apart from getting a Dashboard?
Thanks!!
11 Feb 2020 03:33 PM
read configuration will allow the API to read everything configuration related. Granted, per each API GET you initiate. So if you want to read the configuration of dashboards you can use the read configuration option on the API Token, and supply it for the dashboard API GET command. Further more you can use to get Host information like Processes connected to it, Services, Host units, Host groups etc... any type of API that would read the config and relay data back to you, would use the Read Configuration option.
11 Feb 2020 03:27 PM
Read configuration access scope allows you to read all resources under the configuration API.
https://www.dynatrace.com/support/help/extend-dynatrace/dynatrace-api/configuration-api/