See here. Can use the command line tool nmcli.
Must first make sure that the interface is not managed by nmcli, see nmcli.