Gets the sharing configuration of the specified dashboard.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/config/v1/dashboards/{id}/shareSettings |
Environment ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/config/v1/dashboards/{id}/shareSettings |
To execute this request, you need an access token with ReadConfig
scope.
To learn how to obtain and use it, see Tokens and authentication.
The ID of the required dashboard.
DashboardSharing
objectSharing configuration of the dashboard.
The dashboard is shared (true
) or private (false
).
The Dynatrace entity ID of the dashboard.
If true
the dashboard will be marked as preset.
DashboardAnonymousAccess
objectConfiguration of the anonymous access to the dashboard.
A list of management zones that can display data on the publicly shared dashboard.
Specify management zone IDs here. For each management zone you specify Dynatrace generates an access link. You can access them in the urls list.
To share the dashboard with its default management zone, use the default
value.
A list of URLs for anonymous access to the dashboard.
Each link grants access to data from the specific management zone, listed in the in the managementZoneIds list.
These links are automatically generated by Dynatrace, you can't change them.
{"enabled": "true","id": "a5fca32f-d3ba-4749-b201-5d3cd70b9d22","permissions": [{"permission": "VIEW","type": "ALL"},{"id": "userid","permission": "VIEW","type": "USER"},{"id": "userid","permission": "EDIT","type": "USER"},{"id": "groupid","permission": "VIEW","type": "GROUP"},{"id": "groupid","permission": "EDIT","type": "GROUP"}],"preset": "true","publicAccess": {"managementZoneIds": ["default","2899273953172250973"],"urls": {"2899273953172250973": "https://mytenantid.live.dynatrace.com/e/1/dashboards/a5fca32f-d3ba-4749-b201-5d3cd70b9d22?auth=SL5wTvCbaM2lwpew23234","default": "https://mytenantid.live.dynatrace.com/e/1/dashboards/a5fca32f-d3ba-4749-b201-5d3cd70b9d22?auth=9yPpSI-M-3434Irz8yc8U"}}}