Automatically deny access to zoho desk for final user

Automatically deny access to zoho desk for final user

Hi, 

Does anyone has already write a custom function to automatically deny access for a final user when a account's field has been updated? 
Is there an other way to do that with out a custom function? 

Thanks for your feedback and help.