QC/ALM users accouts are stored in the Site Admin database. The OTA API will not allow you to access this. You will have to use the Site Admin API (see the link below) if you would like to manage users. There is a deactivation method within this API. There are no example scripts like in the OTA API for the QC/ALM client.
https://admhelp.microfocus.com/alm/en/12.53/api_refs/site_admin/webframe.html
Here is a basic example of how to use the Site Admin API to deactivate a user...
Dim objSAClient
Dim strSvrURL
Dim strUserName
Dim strPassword
'Create the connection object
Set objSAClient = CreateObject(''SAClient.SAapi'')
'get Server URL, UserName, and Password
strSvrURL = InputBox (''Enter the server URL'')
strUserName = InputBox (''Enter the user name'')
strPassword = InputBox (''Enter the user's password'')
'MsgBox ''URL: '' & strSvrURL & vbCrLf & ''UserName: '' & strUserName & vbCrLf & ''Password: '' & strPassword
'actual login to server
objSAClient.Login strSvrURL, strUserName, strPassword
'deactivate the user
objSAClient.DeactivateUser(''Alex_ALM'')
objSAClient.Logout