@WojciechThis is going to be a multi step process,
GET <BASE_URL>/rest/api/content?title=<ANCESTOR_TITLE>
GET <BASE_URL>/rest/api/content/search?cql=ancestor=ANCESTOR_ID
DELETE <BASE_URL>/rest/api/content/{CONTENT_ID}
I hope this points you to right direction.
@Wojciech Yup! this is time consuming stuff.
I have also seen this add-on popping up in various discussions/questions related to deleting page tree - https://marketplace.atlassian.com/apps/1215148/delete-child-pages-delete-page-tree?hosting=server&tab=overview
Have a look if this can help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's ridiculous to pay additionally for functionality that is already there...
My solution was to ask administrator with highest privileges to click "delete page" and "delete child pages". It took few minutes.
Seems my space privileges weren't enough for this number of subpages.
Also DELETE requests take 2-4 seconds each, so it would take a lot of time to do it that way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I happy that your issue is resolved.
I know prices of some add-on which just replicate existing features are not justified at all, it just lack of effective documentation by Atlassian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.