Hi,
First an intro how we got where we are now:
We have imported a space from another confluence instance, which happend tto have the same space key as one already existing. We've exported the space, renamed the spacekey in the entities.xml and exportDescriptor.properties files and imported the space. This results in a space, but misses the content.
We did not do the search and replace through the whole tree, but probably to read that manual better (own mistake).
Now, however, I want to cleanup the imported empty spaces, I can find them in the space directory, but when I select that space, I get a Page not found and cannot edit the space itself.
So I tried to delete the space via the rest API via a DELETE query.
A get query for https://confluence.mydomain.com/rest/api/space/SPACEKEY works and returns space info, but when I do a delete query it returns "Cannot find space with key".
Also, the content query for the space returns space not found. The homepage however, seems to exist.
Any ideas how I can remove the empty space without diving into the database?
Kind regards
Bart
Thanks!
it is an administrator user. Tried to look at the permissions for the space, but that give me the Page not found page.
Made a private testspace with another user and was able to delete that space with the API, so it seems the rights are sufficient.
Dear Bart, hi!
It could be some permission issue. Make sure, that user, used for REST has delete space permission.
Best regards,
Vasiliy
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.