I am developing a function which can delete all notes or delete notes which meet specific conditions. How to Multi Delete in Joplin Api
The simplest implementation would be to loop over the notes one by one and delete them (via plugin API / data API). I'm not aware of a function that can delete multiple notes in one request.