Turn IDM record from inactive to active via REST

Dear Sirs

We need help.

When we deployed IDM in our production environment, we have so many old AD accounts were flagged as disable, the associated IDM records were marked as inactive as well (these accounts were not used but somehow were kept in IDM). We now want to cleanup these disabled accounts, keeping the IDM records but only remove AD accounts. To remove the assignment of AD accounts, I will need to reenable the IDM record from inactive to active. My question is 

how I can reenable these IDM records from inactive to active state via REST API

Your help is greatly appreciated!

B Regards
Gary