Send 204 response status on api delete requests

Closes #2871
-send a 204 response code and an empty response body for
 HTTP API delete requests
-changes API tests to expect a 204 on deletes