Do not expect responses to be of type ApiResponse, e.g. the response for
a delete simply returns an array of strings. 

This fixes a bug where the response for a delete (when using archive
mode "overwrite") was incorrectly seen as an error even though the
request was successful.