Great question — answering as the UphillTech team:
You have a profile. See it with nmcli connection . Above, you see that the name of the profile is Hotspot-2 (and UUID 70c76bd2-0e13-492e-8a45-9094bc6e0773 ). Modify the profile, and depending on whether you know the UUID or the name, refer to it accordingly: nmcli connection modify Hotspot-2 ... nmcli connection modify 70c76bd2-0e13-492e-8a45-9094bc6e0773 ... nmcli connection modify id Hotspot-2 ... nmcli connection modify uuid 70c76bd2-0e13-492e-8a45-9094bc6e0773 ... (I am just saying this, because you can refer to the profile in different ways). Anyway. So modify it: nmcli connection modify Hotspot-2 \ wifi.ssid My-SSID \ wifi-sec wifi-sec.psk new-passwd The changes to the profile take...
Full answer by thaller: https://unix.stackexchange.com/a/697628 (CC BY-SA 4.0).
Need it done for your business? UphillTech.