Why does /dashboards/{id}/restore fail with a dashboard not found error if the user executing the request is the dashboard owner?
If I attempt to post to the restore dashboard endpoint (e.g. https://mysisense.com/api/v1/dashboards/mydashboardid/restore) using an access token generated for the owner of the dashboard, the response is a 404 Error: Not Found with the content:
{
"error": {
"code": 10001,
"message": "Dashboard with id 'mydashboardid' not found.",
"resourceType": "dashboards",
"resourceName": "mydashboardid",
"status": 404,
"httpMessage": "Not Found"
}
}
If however, I do the very same command but with an access token of a user who is not the owner of the dashboard, the request succeeds.
Why does the restore fail with a 404 not found error if the requestor is the owner of the dashboard?
Please sign in to leave a comment.
Comments
1 comment