def METHOD_NAME(admin, team_admin_id):
    feeder = admin.post(
        "/api/v1/feeders", data={"name": "feeder", "team_id": team_admin_id}
    ).data["feeder"]
    admin.delete(
        "/api/v1/feeders/%s" % feeder["id"],
        headers={"If-match": feeder["etag"]},
    )
    feeders_to_purge = admin.get("/api/v1/feeders/purge").data["feeders"]
    assert len(feeders_to_purge) == 1
    assert feeders_to_purge[0]["id"] == feeder["id"]
    purge = admin.post("/api/v1/feeders/purge")
    assert purge.status_code == 204
    feeders_to_purge = admin.get("/api/v1/feeders/purge").data["feeders"]
    assert len(feeders_to_purge) == 0