Showing results for 
Search instead for 
Did you mean: 

Create and delete voicemail for CCM End user

Hi there,

We are facing an issue Unity Connection 9.1 and CUCM 9.1.

We are trying to use CUPI in order to create voicemail inbox for CUCM End User.

Our Unity Connection doesn't have any LDAP configuration.

Through CUadmin page, we just import user from CUCM and decide or not to create a voicemail inbox.

We'd like to do the same with CUPI but we're stuck since the only options we have are:

https://HOSTNAME/vmrest/import/users/cucmbe or https://HOSTNAME/vmrest/import/users/ldap

But we don't use LDAP or CUCMBE...

Does anyone know if it's possible to do this, and how ?

Second question. When we list the users from Unity Connection and try to delete a voicemail inbox ( Delete method) , we got an error:

Server returned HTTP response code: 405 for URL: https://HOSTNAME:8443/vmrest/users/b8ba785-74a9-473d-8b05-6507fb99a68e

We have no issue when trying to delete a voicemail inbox that doesn't belong to a CUCM user, but no way to delete a voicemail inbox linked to a CUCM user.

Any help would be great.

Kind regards


Geevarghese Cheria
Cisco Employee

Hi Fabian,

There are three ways you can delete the user that is integrated with CUCM in a standalone configuration.

(1) Using CUCA, Users -> Select the users to be deleted and then delete.

(2) Using BAT, Import Users with mail box and save the imported csv.

Now use this csv and keep the users that you want to delete and remove the rest, and do the delete operation.

(3) Using API, delete the user as a normal connection user, it will not remove the user from CUCM.

Reference - unlink CUC user from CUCM

Also refer  this url  -  Using CUMI to get the info of Mailbox for second question

Thanks and Regards,


unlink CUC user from CUCM

Hi Geevarghese,

Thanks for your reply. It helps us to unlink the user and we've been finally able to delete the voicemail inbox.

However, we're still having issue while trying to import users with the API. I didn't find any information regarding User Import from the links you provide.

Do you know if it's possible to import a user from CUCM using an API and create a voicemail inbox ?

Thanks for your help



Hi Fabian,

  From Cisco Unity Connection Provisioning Interface (CUPI) API -- User Import it  mentioned only about the ldap user import. So iam not sure its possible to import an end user from CUCM to CUC using CUPI.

Thanks and Regards,


use unity sdk to import the ldap user to normal user group.

Content for Community-Ad