Liste `whitelist`

Good morning,

I notice that my whitelist contains a very large quantity of API key

Can I delete all of these keys except the one I know?

"whitelist": {
      "03A5xxxxxx": {
        "create date": "2023-05-18T16:46:01",
        "last use date": "2023-05-22T18:29:44",
        "name": "Phoscon#B1112x761"
      },
      "05FB9xxxxxx": {
        "create date": "2021-07-12T07:08:38",
        "last use date": "2021-07-12T18:15:32",
        "name": "Phoscon#B1112x726"
      },
      "06493xxxxx": {
        "create date": "2024-07-16T10:58:22",
        "last use date": "2024-07-16T22:04:58",
        "name": "Phoscon#B1863x1061"
      },
      "09C751xxxxxx": {
        "create date": "2021-03-28T10:51:56",
        "last use date": "2021-03-28T21:06:47",
        "name": "Phoscon#B792x642"
      },
      "09DC15xxxxx": {
        "create date": "2022-01-02T10:24:03",
        "last use date": "2022-01-02T10:38:19",
        "name": "Phoscon#B1618x933"
      },
      "0A1Cxxxx": {
        "create date": "2022-05-18T13:51:39",
        "last use date": "2022-05-19T08:41:35",
        "name": "Phoscon#B1616x933"
      },
      "0ABA4xxxxxx": {
        "create date": "2021-03-25T17:58:09",
        "last use date": "2021-03-25T19:27:17",
        "name": "Phoscon#B1112x759"
      },
      "0E22xxxxxx": {
        "create date": "2021-05-25T12:20:35",
        "last use date": "2021-05-25T18:19:58",
        "name": "Phoscon#B1112x726"
      },
      "0F39xxxxxx": {
        "create date": "2023-10-12T09:14:41",
        "last use date": "2023-10-12T19:55:49",
        "name": "Phoscon#B1112x761"
      },
      "0FFxxxxxx": {
        "create date": "2022-01-12T16:06:35",
        "last use date": "2022-01-12T16:57:33",
        "name": "Phoscon#B1378x763"
      },
      "10A9xxxxxx": {
        "create date": "2021-01-29T22:34:49",
        "last use date": "2021-01-30T09:23:49",
        "name": "Phoscon#B1112x759"
      },
      "11D1xxxxx": {
        "create date": "2022-11-13T18:44:36",
        "last use date": "2022-11-16T18:18:00",
        "name": "Phoscon#B1112x728"
      },
      "125xxxxx": {
        "create date": "2022-03-14T16:03:53",
        "last use date": "2022-03-14T18:37:06",
        "name": "Phoscon#B1112x728"
      },
      "127xxxxx": {
        "create date": "2020-12-27T13:54:18",
        "last use date": "2020-12-27T13:54:19",
        "name": "Phoscon#B1618x950"

Yes, for sure, on my side I have a python script to remove useless key using a filter

if 'deCONZ WebApp' in j2[i]['name'] or 'Phoscon#' in j2[i]['name'] or 'homebridge-hue#' in j2[i]['name'] or 'Hue Essentials#' in j2[i]['name']:

You can remove all key starting by “Phoscon#” for exemple.

1 Like