Delete single WiFi Creds

Is there a way to delete or update single WiFi credentials?

I have a touchscreen to enter wifi creds but in the chance, the user enters the wrong password. I would like to reset the existing creds or delete them so that bad credentials don’t get stored.

Is there a way to do this?

I realize there is a clear credentials function but that clears all creds and I don’t want to clear out good creds.

Thanks!

There is no way to clear a single WiFi credential. You can only clear all of them using WiFi.clearCredentials.

If you save credentials for an existing SSID it will overwrite the old configuration, but there is no way to delete a single AP from the config.

2 Likes