AnkiConnect API deleteNotes action is not working

Hey there!
Does anybody know if there are any problems related to the deleteNotes action within the AnkiConnect API, since I get positive responses all the time but no changes to my cards are made.

This is a JavaScript example:

await fetch(‘url to localhost here’, {
method: ‘POST’,
headers: {
‘Content-Type’: ‘application/json’
body: JSON.stringify({
action: ‘deleteNotes’,
version: 6,
key: ‘key_$’,
params: {
notes: id
.catch(error => console.error(error));


Working for me. I tried with the Python example posted in their site: FooSoft Productions - Anki-Connect

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.