Remote API link between website and client

Discussion in 'Developers' Forum' started by jnsc, Feb 2, 2015.

  1. jnsc

    jnsc rotaredoM Moderator


    How can I get the client when knowing the website. I saw that by changing the client of a website, the sys_userid and sys_groupid changes, I also noticed system_group but this is not and id as it contains clientX

    Thanks in advance
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The client is defined by the sys_groupid while the sys_userid is actually the one that created the site (and not the owner). You can lookup the client_id by using the sys_group table. I thought that we had a api function for this but it seems that this is missing, so we should add a function to lookip the client_id by passing a sys_group_id to the lookup function.
  3. jnsc

    jnsc rotaredoM Moderator

    Thanks for your reply till, do you want me to implement this function in remote api?

Share This Page