

def empty_dataset(config_path, data_set, token):
    url = '{}/{}/{}'.format(get_base_url(headers), data_set['data-group'], data_set['data-type'])
    headers = {
        'Authorization': 'Bearer {}'.format(token),
        'Content-type': 'application/json',
    }
    print('EMPTY: {}'.format(url))
    response = requests.put(url=url, headers=headers, data='[]', verify=False)
    response.raise_for_status()

dataset/ETHPy150Open alphagov/performanceplatform-collector/tools/one-off/recollect.py empty_dataset/VarMisuse@22/32 `config_path`->`headers`