code: def _create_index(self):
          
          if not self.index_exists:
              index_settings = {}
              headers = {'Content-Type': 'application/json', 'DB-Method': 'POST'}
              url = '/v2/exchange/db/{}/{}'.format(self.domain, self.data_type)
              r = self.tcex.session.post(url, json=index_settings, headers=headers)
  
              if not r.ok:
                  error = r.text or r.reason
                  self.tcex.handle_error(800, [r.status_code, error])
              self.tcex.log.debug(
                  'creating index. status_code: {}, response: "{}".'.format(r.status_code, r.text)
              )
docs: Create index if it doesn't exist.