- http_code, resp = self._http.delete_cmd('{}/{}'.format(self._apiBase,ns['_id']))
- if resp:
- resp = json.loads(resp)
+ querystring = ''
+ if force:
+ querystring = '?FORCE=True'
+ http_code, resp = self._http.delete_cmd('{}/{}{}'.format(self._apiBase,
+ ns['_id'], querystring))
+ #print 'HTTP CODE: {}'.format(http_code)