Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 1

Is there a way to 'unsuspend' a suspended user via the API?

I'm trying to automate the cleanup of our GH Enterprise (v2.17) environment by deleting inactive user accounts via the API. I discovered we had configured GH to automatically suspend 'inactive' users (using LDAP Sync), and as a result, the accounts cannot be deleted via the API.  The show up as non-existent.

 

Is there a way to get around this somehow using the API? I'd rather not have to manually 'unsuspend' and delete x-number of users across our GH servers.

 

Thanks in advance!