Dear, we are trying to insert some domain zone via API. We have just trouble to understand what we need to pass to the api as $client_id: $id_zone=$client->dns_zone_add($session_id, $client_id, $params); Because on the sys_user there is several id related to the user: userid sys_userid sys_groupid groups default_group client_id What is he correct value to choose? Thank you.
The client_id is the client_id and not the sys_userid. The client_id refers to the database table client and identifies a client. It is also stored as a relation in the sys_user table, field client_id.
Sorry for the thread re-open, but from the web_domain table if i need to get the client_id associated to a specific domain. What field I need to query? Because from there on web_domain table i see only the sys_userid and sys_groupid.
The remote function to get a client_id based on the sys_userid is: client_get_id($session_id, $sys_userid)