Create and delete user in Purecloud

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

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

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.

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?

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