+
+ /**
+ * Destroys existing drafts, belonging to the current user, for the given page.
+ */
+ public function destroyUserDraft(string $pageId)
+ {
+ $page = $this->pageQueries->findVisibleByIdOrFail($pageId);
+ $this->revisionRepo->deleteDraftsForCurrentUser($page);
+
+ return response('', 200);
+ }