Change Extesnsions.conf file using AMI

Can I edit, update extensions.conf file using AMI? ( I mean, I need to edit, change, update IVR path)

https://docs.asterisk.org/Asterisk_21_Documentation/API_Documentation/AMI_Actions/UpdateConfig/

https://docs.asterisk.org/Asterisk_21_Documentation/API_Documentation/AMI_Actions/DialplanExtensionAdd/

https://docs.asterisk.org/Asterisk_21_Documentation/API_Documentation/AMI_Actions/DialplanExtensionRemove/

I’m not sure if the last two will work on extensions orginally taken from .conf files.