Hi Chris
Thanks for getting back to me. At the time I was at a place where I couldn't debug and make full example.
I didn't send anything in the body.
When developing the app we started out with the XML API and have later begun to transform it to JSON, I had missed that delete call.
I have changed the call to a json call and no longer gets any error message. So maybe only a problem with the .XML version?