Skip to main content

suspendacct

The account suspend hooks

ThisThese hooks will be executed when a user account is being suspended.

Function name :name: suspendacct

Base Directory :  /var/eenos/hooks/suspendacct

Pre-Hooks  Location 

Please place all your  pre pre-hook scrips in   /var/eenos/hooks/suspendacct/pre/

Post Hooks Location 

Please put your post  hooks scripts in   /var/eenos/hooks/suspendacct/post/

All pre-hook and post-hook scripts need execute permission to perform the requested operations.

Supported Actions

 This hook  will support UPDATE  action only .only.

Hook Inputs

This hook will be provided with the following inputs:

  • data  :  A base64 encoded JSON data of the related actions ,actions,  This is compulsory.
  • action :  The action code  UPDATE   ,UPDATE, This is compulsory
  • panel : The control panel that performperforms the hooks ,hooks, wap, This is compulsory
  • domain : The domain name performing the hooks. It is optional
  • user :  The  Eenos user name associated with .with. It is optional
data

The data will be a base64 encoded json string whichthat contain thecontains the userdata file contents.