In the `https://<TENANT>.atlassian.net/wiki/home/drafts` page where all of my drafts are listed, I have a draft that lives in a space that I no longer have access to.
As far as I can tell the only way to delete a draft is to open it, click the "..." and click "Delete unpublished page".
Unfortunately, since I no longer have access to the parent space, I cannot open the draft anymore, I hit the "Editing is restricted for this content" error when I try to open the draft.
I don't care about the content or the draft, I just want to delete it from my drafts list.
I ended up solving this by copying the `curl` of another request to delete a draft that I did have access to (the endpoint is `https://<TENANT>.atlassian.net/cgraphql?q=DeleteDraftMutationForRevertDialog`. I then just updated `contentId` variable in the graphql request to the `contentId` of the draft that I actually did want to delete.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.