| Previous | Up | Next |
|---|---|---|
| Backup and restore | Ezeelogin | Export server list |
An API script is provided for automating server add/edit/delete tasks in Ezeelogin. With the help of this script, you can integrate Ezeelogin with any 3rd party application managing your clients/customers. The API script can be executed as:
php /usr/local/ezeelogin/ezlapi.php [params...]
For help:
php /usr/local/ezeelogin/ezlapi.php -help
API action specific parameters and help can be obtained with:
php /usr/local/ezeelogin/ezlapi.php -help <action>
For example, to display the options for adding a server:
php /usr/local/ezeelogin/ezlapi.php -help add_server
If you need to execute the API script from a server other than the Ezeelogin installed SSH gateway server, copy /usr/local/ezeelogin/ezlapi.php file and necessary sourceguardian loaders into the server. In this case, you must pass the Ezeelogin installed SSH gateway server IP address with –ezeelogin option to the API script. Also grant access for the server to Ezeelogin by executing the following command on Ezeelogin installed SSH gateway server:
php /usr/local/ezeelogin/grant_host.php <IP address of server on which API script runs>
Make sure API is enabled in API settings for the API script to work.
PS: For “IP of Ezeelogin installed server” to provide with –ezeelogin option, you can give either master or slave node IP address.
| Previous | Up | Next |
|---|---|---|
| Backup and restore | Ezeelogin | Export server list |