cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
377
Views
0
Helpful
0
Replies

Unable to delete AppUser on CUCM through Python.

himanshu87
Level 1
Level 1

I am able to add Application user to CUCM using python but i am unable to delete it. Here is the code snippet:

 

client = Client(wsdl,location=location, username=AXL_USER, password=AXL_PASS, plugins=[ImportDoctor(imp)])
if action=='Add':
    result = client.service.addAppUser(appUser={'userid':user,'password':passw, 'associatedGroups':{'userGroup':[{'name':grp}]}})
if action=='Delete':
     result = client.service.removeAppUser({'userid':user})

 

Error from CUCM server:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://www.cisco.com/AXL/API/10.5" xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<ns1:Body>
<ns0:removeAppUser/>
</ns1:Body>
</SOAP-ENV:Envelope>
b"Server raised fault: ''"

 

Please help me on this error.

 

Thanks

Himanshu

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: