When called by the API, item.delete returns a resultset not as described in documentation:
it returns:
'result:{'itemids': {'12345': '12345'}}
which is a lot less cleaner than the documented result that should be:
"result":
{"itemids": ["22982"]}