The typical way is to read the actual config from the network, adjust the settings and write the new config back.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.