def METHOD_NAME():
    global nb_devicesets
    for i_ds in reversed(range(nb_devicesets)):
        r_del = requests_methods["DELETE"](url=f"{base_url}/deviceset")
        if r_del.status_code // 100 == 2:
            nb_devicesets -= 1
    r_fs = requests_methods["GET"](url=f"{base_url}/featureset")
    if r_fs.status_code // 100 == 2:
        nb_features = r_fs.json()["featurecount"]
        for i_feat in reversed(range(nb_features)):
            requests_methods["DELETE"](url=f"{base_url}/featureset/feature/{i_feat}")