Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do you delete an entire page and all children?

I'm sure there's a way to do this but can't see how? Have reviewed multiple previous posts but they're either out of date or requite plugins. I'm assuming this is a VERY common task?

I'm testing the creation of thousands of pages and need to delete them again so I can recreate them later. 

I've tried using the API to delete them but i get "invalid request" response: GET page works fine, but not DELETE page API... there's almost nothing to the request data so can't see why it would be malformed

2 answers

Found simple fix for delete page API (change type to "DELETE" rather than "DEL")

Still curious if there's an easy way to do this? Having to write code to use "get pages for space", iterate through multiple cursors, list all the data in  a way that's then easy to feed to "delete" api... bit of a headache!

0 votes
David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 16, 2023 • edited

"there's almost nothing to the request data so can't see why it would be malformed"

Well, since you didn't provide an example of the 'request data' you're sending to that endpoint, or even advised which 'delete page' endpoint you're referring to, I guess there's no way of knowing.

Like David Bakkers likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events