cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting dashboards not shared with Admin User Not Working

gorkem
7 - Data Storage
7 - Data Storage

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

1 ACCEPTED SOLUTION

HamzaJ
12 - Data Integration
12 - Data Integration

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

View solution in original post

2 REPLIES 2

HamzaJ
12 - Data Integration
12 - Data Integration

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

gorkem
7 - Data Storage
7 - Data Storage

It worked, @HamzaJ thank you!