Found it!
I have tried with DeleteByQuery as well and wen i tried without specifying collection it works.
if i set collection in csDatabaseURL.
this works:
DeleteByQuery(“query” ,“”,“doctype”)
this doesn’t
DeleteByQuery(“query” ,“collection”,“doctype”)
If anyone is intreasted.
Ulf
#webMethods#API-Management#webMethods-Tamino-XML-Server-APIs