Help [Virtualmin http Api]

Hi, i’m trying to use virtuamin gpl http api and i need help with some features:

a) create a new virtual server adding a personal plan like this:

https://myserver.com/virtual-server/remote.cgi?program=create-domain&domain=mydomain.com&pass=password&features-from-plan&plan=planame

if i use this synthax from browser it says: Unknown plan name, but i’m sure that this plan exists
in my virtualmin, so i need help or i think i use a wrong synthax.

b) edit the domain name in a existing virtual server using the same synthax on point a)

c) disable an existing domain using the same synthax on point a)

d) delete an existing domain using the same synthax on point a)

p.s. i changed port for api calls so don’t care about 10000 missing :slight_smile:

i need help, sure for a sincerly reply,

Nerdy

Howdy,

You may want to try it from the command line first, just to get the hang of the syntax… that might make it a little simpler to try different things. I’m not entirely sure what isn’t working, but you may want to make sure that the case of your letters is the same. You could also try putting it in quotes.

-Eric