Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

[CUCM] AXL API - Bulk Delete End Users

Hi,

 

Is there a documented way to Bulk Delete End users in CUCM using the AXL api? I have used theExecuteSQLUpdate (https://developer.cisco.com/media/axl-schema-10-5/Files//AXLSoap_executeSQLUpdate.html#Link3FF) command to do this using the following query

 

DELETE FROM endUser WHERE fkucserviceprofile IN (SELECT pkid from ucserviceprofile WHERE name='{0}')

 

where "name" is the UC Service Profile that I want to delete the users for.

 

Now what I am wondering is

 

1) Does this delete all the user related content? (basically is it the same as calling the RemoveUserhttps://developer.cisco.com/media/axl-schema-10-5/Files//AXLSoap_removeUser.html#LinkC0Fmethod in a loop)

 

2) Is there a recommended way of Bulk Deleting users?

 

 

Thanks

  • IP Telephony
Everyone's tags (2)
102
Views
0
Helpful
0
Replies