Is there a way to delete Alert using the WebServer API

Hi,

I’m able to create programatically Alerts in tiddly wiki using the

PUT /recipes/default/tiddlers/{title}

When I try to delete using the DELETE WebServer API I get a 404. The alert is not removed
It seems that alerts are handled by the browser …

Is there a way to clean alerts programatically ?

Thanks for your guidance or any other alternatives

Regards

Vpl

Hello!

It looks like the DELETE API is under /bags/ rather than /recipes/; when I do curl -X DELETE -H 'X-Requested-With: TiddlyWiki' http://localhost:8080/bags/default/tiddlers/test%20alert it successfully deletes my “test alert” tiddler.

-Rob

1 Like

Hi,

Yes !! This is working this way !
Thanks a lot for your help.

Best regards

Vpl