diff --git a/pkg/api/api.go b/pkg/api/api.go index 5eb40707bda..ef976fd10eb 100644 --- a/pkg/api/api.go +++ b/pkg/api/api.go @@ -684,5 +684,5 @@ func (hs *HTTPServer) registerRoutes() { r.Get("/api/snapshot/shared-options/", reqSignedIn, GetSharingOptions) r.Get("/api/snapshots/:key", routing.Wrap(hs.GetDashboardSnapshot)) r.Get("/api/snapshots-delete/:deleteKey", reqSnapshotPublicModeOrSignedIn, routing.Wrap(hs.DeleteDashboardSnapshotByDeleteKey)) - r.Delete("/api/snapshots/:key", reqEditorRole, routing.Wrap(hs.DeleteDashboardSnapshot)) + r.Delete("/api/snapshots/:key", reqSignedIn, routing.Wrap(hs.DeleteDashboardSnapshot)) }