Using the v2/settings API to set preset dashboards for certain groups.
Found out that the schema = builtin:dashboards.presets
When execution this to get the objects ...
curl -X GET "https://xxxxx.live.dynatrace.com/api/v2/settings/objects?schemaIds=builtin%3Adashboards.presets&fields=objectId%2Cvalue" -H "accept: application/json; charset=utf-8" -H "Authorization: Api-Token xxxx"
I complains that scope is required.
Acccording to the docs, scope is optional (https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings/objects/get-objects/)
And I have no idea what to define as scope here. The dashboard itself?
Solved! Go to Solution.