docs: def delete(self, dataset_identifier, row_id=None, content_type="json"):
          '''
          Delete the entire dataset, e.g.
              client.delete("nimj-3ivp")
          or a single row, e.g.
              client.delete("nimj-3ivp", row_id=4)
          '''
          if row_id:
              resource = _format_new_api_request(dataid=dataset_identifier, row_id=row_id,
                                                 content_type=content_type)
          else:
              resource = _format_old_api_request(dataid=dataset_identifier,
                                                 content_type=content_type)
  
          return self._perform_request("delete", resource)