/kerio-service

Service for user administration in Kerio Control through a simple JSON REST interface.

Primary LanguagePHPMIT LicenseMIT

kerio-service

Service for user administration for Kerio Control through a simple JSON REST interface.

installation

To install just do a composer install in the main directory to load all dependencies and configure the autoloader.

usage

The easiest way is to test it with the php built in webserver:

  • cd to the public folder
  • start the server via php -S localhost:8000

available routes

  • GET http://localhost:8000/index.php/kerio/users lists all users configured in kerio control
  • PUT http://localhost:8000/index.php/kerio/user adds a new user to the kerio local database (needs at least username, fullname, password and email)
  • GET http://localhost:8000/index.php/kerio/user/{loginname} gets a user by login name
  • POST http://localhost:8000/index.php/kerio/user/{loginname} sets parameters for an user account (only password is supported for now)

hints

  • This service does not include a user authentication yet. So make shure to secure this service for authorized users e.g. by a firewall.