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

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events