removeacct
The account creationtermination hooks
This hooks will be executed when a user account creationis happens.being terminated.
Function name : createacctremoveacct
Base Directory : /var/eenos/hooks/createacctremoveacct
Pre-Hooks Location
Please place all your create account pre hook scrips in /var/eenos/hooks/createacct/removeacct/pre/
Post Hooks Location
Please put your post create account hooks scripts in /var/eenos/hooks/createacct/removeacct/post/
All pre-hook and post-hook scripts need execute permission to perform the requested operations.
Supported Actions
This hook will support CREATEDELETE action only .
Hook Inputs
This hook will be provided with the following inputs:
- data : A base64 encoded JSON data of the related actions , This is compulsory.
- action : The action code
CREATEDELETE , This is compulsory - panel : The control panel that perform the hooks , wap, This is compulsory
- domain : The domain name performing the hooks. It is optional
- user : The Eenos user name associated with . It is optional
data
The data will be a base64 encoded json string which contain the the userdata file conters.