Skip to main content

When you move folder to the trashwith the Lucidchart command “Move to trash”, you find it in the trash folder.

If you empty the trash folder, the folder is not visible anymore but in fact it is still there because if you use the end point “https://api.lucid.co/folders/search” the deleted folders are retrieved.

How could we really delete folders?

Best regards.

Hi Michel, I'm currently looking into this for you with our internal teams. I'll get back to you with an update as soon as I have a response.


Hi Michel! Thank you for pointing this out! We are working on a change to our systems to delete folders from our search table. When released, the API will not return any data about the folder (because the data won't be there). I’ll respond on this thread when that change is live.


Thanks for the reply.

For now I’m filtering the result of the deserialized json response with one line of code

const folders = deserializedFolders.filter(f => f.trashed == "null");

Regards.


Sorry forget the double quote on “null”

const folders = deserializedFolders.filter(f => f.trashed == null);