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

Delete User via Rest wich is imported from CUCM

mathias.tonn
Level 1
Level 1

Hi ,

I have an User Account imported with "Import User" in the Web-UI. The User-Profile is based on CUCM (no LDAP). The import generated a new User. That is fine. The User gets some more information from the CUCM. The fields "CcmId" and "CcmIdType" are filled with Ids.

Delete of User Mailbox via REST Interface is horrible.


The default way does not work. The request

     DELETE https://XX.XX.XX.XX/vmrest/users/PKID-OF-USER

get always an error. The following error was thrown:

     AXL Imported users cannot be deleted via the API


My way is update the User before deletion. The update, empty the fields "CcmId" and "CcmIdType". After that the user object can be deleted.

But after all there are some remains in the database. The user cant be imported again within the Web-UI. To clear the remains i call an command on ssh console.

     utils cuc users bulk_clean_orphans mapentries

Only after that command everything is alright.

Is there another way to delete an user that was imported from the CUCM? We use CUCM and CUC 11.0.

0 Replies 0