Files API - Not possible to completely delete a folder
SOLVE
I am trying to delete a folder (using either the folder path or the folderId). This results in the folder beeing marked as "archived". However, when trying to create a folder with the same path/name 201 is returned but the folder returned in the response is the "old folder" (same Id as the original folder and archived set to true).
After that I am stuck in a state where:
I cannot delete the folder completly (no API endpoint for this)
I cannot unarchive the folder (no API endpoint for this)
I cannot create a new folder with the same path (the old archived folder is returned)
I cannot upload files to the "folder" (the upload endpoint cannot find the folder).
Thanks for any help on how to get around this situation!