Greetings, Is there a function in the remote IP by which i can create a reseller? Or transform a client into a reseller (I saw that this can be done via the UI). I did go trough get_function_list and the docs from the ispconfig archive , but I could only find api functions for the clients. Thank you!
From memory, a reseller is just a client (ie. "clients" table) with differences in a few settings from a normal client. Create a reseller and a client in the ui and compare them (clients table, sys_user and sys_group tables) then user client_add, client_get, client_update, etc. with the needed values. Also search the forums here, I remember reading a response to I think exactly this question earlier this week (note: I read it this week, it was not posted this week), and @till mentioned after you add a client to a reseller you need to update the groups of which that reseller belongs via another api call (rather, 2 api calls, a get and an update).