Legacy Dev Forum Posts

 View Only

Sign Up

Create and delete user in Purecloud

  • 1.  Create and delete user in Purecloud

    Posted 06-05-2025 18:11

    mvishwanath | 2016-12-05 09:31:41 UTC | #1

    Am able to create user and delete user in purecloud.

    usersApi.postUsers(body); --> POST /api/v2/users --> Create user

    usersApi.deleteUserId(userId); --> DELETE /api/v2/users/{userId} --> Delete user

    However, I am unable to a create user which is already deleted. The deleted user will fall under 'deleted users' hence forth it returns me - 409 Conflict as response.

    Is there any way to delete a user permanently? or any work around? so that I can create same user that has been created and deleted.

    -Thanks


    tim.smith | 2016-12-05 15:41:23 UTC | #2

    mvishwanath, post:1, topic:699
    Is there any way to delete a user permanently?

    Not currently. API-1816 exists to track adding an undelete feature.

    mvishwanath, post:1, topic:699
    or any work around?

    If you need any users undeleted, the current process is to open a ticket with PureCloud Support and provide the emails of the users you want undeleted.


    mvishwanath | 2016-12-13 07:06:57 UTC | #3

    Thanks Tim.

    I have a use case that I am trying to add a user that has been deleted. I get 409 Conflict. What should I do in order to achieve that?


    tim.smith | 2016-12-13 15:07:52 UTC | #4

    You must open a ticket with PureCloud Support if you need to undelete a user or create a new user with the same email.


    system | 2017-08-28 19:29:16 UTC | #5


    This post was migrated from the old Developer Forum.

    ref: 699