I use the api via root, for actions like WHM and Cpanel.
In the chaos of creating a database and a mysql user associated with it, I don't see that there is an api call from whm, and I understand that there should be an option like the ones I use to create an addon domain, that is, a call to port 2087 but using cpanel_jsonapi_version 2 and its corresponding module.
But, I do not see it.
The most I see is the use of UAPI having to use port 2083.
Is this the only way?
In the chaos of creating a database and a mysql user associated with it, I don't see that there is an api call from whm, and I understand that there should be an option like the ones I use to create an addon domain, that is, a call to port 2087 but using cpanel_jsonapi_version 2 and its corresponding module.
But, I do not see it.
The most I see is the use of UAPI having to use port 2083.
Is this the only way?