cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
323
Views
30
Helpful
6
Replies
Highlighted
Beginner

AXI API enable/disable Jabber code example?

I need to temporarily disable a number of Jabber users in bulk (and later enable them). It appears the GUI setting I need to toggle is either:

 

End User Configuration / Service Settings / Enable User for Unified CM IM and Presence

 

Or alternatively delete and recreate users under:

 

User Management / User Settings / Access Control Group -> Standard CCM End Users

 

Does anyone have an example code they can share of doing one of these (or even can refer to what elements in the AXI API I would need to touch?). The documentation is a bit thin.

 

Python would be awesome, but beggars can't be choosers!

 

Many thanks in advance!

3 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Cisco Employee

Does it have to be done that way?  Why not just use Bulk Administration?

 

BAT > Users > Update Users > Custom File

 

Disable

USER ID,ENABLE USER FOR UNIFIED CM IM AND PRESENCE
aholloway,f

Enable

USER ID,ENABLE USER FOR UNIFIED CM IM AND PRESENCE
aholloway,t

View solution in original post

Highlighted

Great answer as always Anthony (+5)

One thing to add to this, if you also want to turn back on the setting to include meeting information you would need to add one more field to the bulk file.

 USER ID ENABLE USER FOR UNIFIED CM IM AND PRESENCEINCLUDE MEETING INFORMATION IN PRESENCE
usernamett
Please rate all useful posts

View solution in original post

Highlighted

Just FYI, I didn't know either, but I looked it up.  The simplest way to look it up is to go to BAT > Users > Updates Users > Custom File, then click the View Sample File link.  The longer way, is to read through the online documentation.

View solution in original post

6 REPLIES 6
Highlighted
Cisco Employee

Does it have to be done that way?  Why not just use Bulk Administration?

 

BAT > Users > Update Users > Custom File

 

Disable

USER ID,ENABLE USER FOR UNIFIED CM IM AND PRESENCE
aholloway,f

Enable

USER ID,ENABLE USER FOR UNIFIED CM IM AND PRESENCE
aholloway,t

View solution in original post

Highlighted

No it doesn't - that was the other solution, however we were equally clueless at what the flag was for the bulk upload option. 

In the end, ideally we would be able to use API as it would give us more long term options, but this really solves our major issue.

Thank you very much Anthony!!!

Highlighted

Great answer as always Anthony (+5)

One thing to add to this, if you also want to turn back on the setting to include meeting information you would need to add one more field to the bulk file.

 USER ID ENABLE USER FOR UNIFIED CM IM AND PRESENCEINCLUDE MEETING INFORMATION IN PRESENCE
usernamett
Please rate all useful posts

View solution in original post

Highlighted

Thank you both!

Highlighted

Just FYI, I didn't know either, but I looked it up.  The simplest way to look it up is to go to BAT > Users > Updates Users > Custom File, then click the View Sample File link.  The longer way, is to read through the online documentation.

View solution in original post

Highlighted

Thanks!

Content for Community-Ad