The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

How to delete a draft in a space where I no longer have write access?

Sean Cullinan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 6, 2023

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.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Sean Cullinan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 6, 2023

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.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events