cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
169
Views
3
Helpful
2
Replies

Is it possible to unlock a CUCM user with AXL ?

maxime-leroux
Level 1
Level 1

Hello, 

I would like to manage the checkbox "Locked by administrator" with AXL.Is it possible?

maximeleroux_0-1751439948752.png

 

 

2 Replies 2

Alexis Amaro
Cisco Employee
Cisco Employee

Yes, you can with updateUser, something like:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/15.0">
<soapenv:Header/>
<soapenv:Body>
<ns:updateUser sequence="1">
<uuid>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</uuid>
<passwordCredentials>
<pwdCredLockedByAdministrator>false</pwdCredLockedByAdministrator>
</passwordCredentials>
</ns:updateUser>
</soapenv:Body>
</soapenv:Envelope>

You can use <userid>?</userid>  if you prefer, now, this will only work for local users, LDAP synced users need to be managed from the LDAP.

 

wajidhassan
Level 4
Level 4

You can unlock a local CUCM user using the AXL updateUser method by setting <pwdCredLockedByAdministrator>false</pwdCredLockedByAdministrator> inside <passwordCredentials>. This effectively clears the “Locked by administrator” status.

Keep in mind this works only for local users managed directly in CUCM. For LDAP-synced users, you must handle unlocking in the LDAP directory since CUCM does not control that setting for them.