You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As documented here only the uid of the referenced dashboard is returned, however to interact with Grafana's Dashboad permissions API we'd need to use the ID instead of UID (the APIs seem to be inconsistent, the folder permissions API requires uid?)
Also the example Sample: 51 looks inaccurate, as you're likely to get a "random" string looking like 7tCqfiv7k instead of a numeric id
https://docs.ansible.com/ansible/latest/collections/community/grafana/grafana_dashboard_module.html
As documented here only the uid of the referenced dashboard is returned, however to interact with Grafana's Dashboad permissions API we'd need to use the ID instead of UID (the APIs seem to be inconsistent, the folder permissions API requires uid?)
Also the example
Sample: 51
looks inaccurate, as you're likely to get a "random" string looking like7tCqfiv7k
instead of a numeric idhttps://grafana.com/docs/grafana/latest/http_api/dashboard_permissions/#update-permissions-for-a-dashboard
Work around using ansible uri to interact with API
The text was updated successfully, but these errors were encountered: