gorkem
03-03-2024Data Storage
Deleting dashboards not shared with Admin User Not Working
Hello,
As an admin user, when I try to delete dashboards with REST API that are not owned by me or shared with me I receive the error below ( dashboard id as {dashboardId}):
{
"succeded": [],
"failed": [
{
"oid": "{dashboardId}",
"error": "Dashboard with id '{dashboardId}' not found.",
"status": 404,
"code": 10001
}
]
}
I can access these dashboards when I am in admin mode: /adminAccess?filters=all but the dashboard can't be deleted via REST API.
How can I delete multiple dashboards with REST API that are not owned by me or shared with me?
Thank you
Hey gorkem
I dont think it is possible. What is possible is changing ownership to yourself and then delete the dashboard: /dashboards/{id}/admin/change_owner .
Hamza