The delete() function should not take data

Removed data from the arguments list of the delete function. Data are not really supported for delete requests and the url concatenation using data was wrong, it appended a question mark to the last url parameter. Workaround is to pass an empty list as data as long as we have no new version.