These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Remote API Question on the new forum.
Looking in to the CLI and Remote API, there are some pretty neat features I can do. One issue I have (and need most) is being able to use the 'modify-dns' command. I can use it just fine through the CLI, but I cannot use it via remote API. Is there a way that I can use 'modify-dns' via remote API?
I know that I ca exec('su -c virtualmin modify-dns') but not sure if it will work or not as I'm still new to PHP.
Any help would be amazing. Thank you in advance!
Nevermind. I must have had a typo earlier when I attempted the remote API for modify-dns. I just attempted it right now and it worked perfectly. Wow. Frustration.