Tim's avatar
Tim
Data Pipeline
02-11-2025
Status:
Already in product

REST API admin access on all endpoints

As admin, I can get other people's dashboards using the /dashboards/admin endpoint.

However, the information returned is limited: I can't get a .dash file or widget objects.

I want to use my admin rights on the /dashboards/{id}/export/dash endpoint to download every dashboard, even ones that haven't been shared with me.

Perhaps this could be generalised to other endpoints that limit based on dashboard permissions or other permissions: If as admin I can grant myself access to an object through the UI, then I should be able to set a flag in my API calls to circumvent these restrictions.

4 Comments

  • Tim's avatar
    Tim
    Data Pipeline

    DRay HamzaJ's solution works for the scenario I needed. But there might be other cases where I want to use my admin access; so it might be nice if every endpoint let me use adminAccess=true to circumvent permissions. For now, I've got what I need though.

  • Status changed:
    New Idea
    to
    Already in product

    Hi Tim,

    Thank you for the response. If/when you do encounter an issue with API permissions please let us know. We can help figure out how to fulfill the need, or raise an enhancement.

    Thank you for being so active!